UI: move auto_open clearing out of ui_region_contains_point_px
authorCampbell Barton <ideasman42@gmail.com>
Tue, 23 Apr 2019 05:44:31 +0000 (15:44 +1000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 23 Apr 2019 05:44:31 +0000 (15:44 +1000)
commit4d5e83f608d3cb7312383d4d90352a175594772e
treead40d15829e0bd82a2440299c7eb9d6a7f390fa8
parent3302fbaeb1d5f58d926c06b6153ec5d6f1a9b0be
UI: move auto_open clearing out of ui_region_contains_point_px

Prefer explicit call for menu buttons since it's confusing if only some
queries clear auto open.
Also queries shouldn't modify data.
source/blender/editors/interface/interface_handlers.c
source/blender/editors/interface/interface_query.c