After looking for items/submenus, always update the closed state at least once before mouse polling. Otherwise the click to open sticky setting would sometimes not get evaluated until after the mouse cursor had already moved outside of the click to open rect. Fixes ticket #3267.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36443 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1654,6 +1654,9 @@ BMenu::_Track(int* action, long start)
|
|||||||
}
|
}
|
||||||
|
|
||||||
UnlockLooper();
|
UnlockLooper();
|
||||||
|
|
||||||
|
if (releasedOnce)
|
||||||
|
_UpdateStateClose(item, location, buttons);
|
||||||
|
|
||||||
if (fState != MENU_STATE_CLOSED) {
|
if (fState != MENU_STATE_CLOSED) {
|
||||||
bigtime_t snoozeAmount = 50000;
|
bigtime_t snoozeAmount = 50000;
|
||||||
|
|||||||
Reference in New Issue
Block a user