WME_BUTTON_PRESS on menuView: do not set insideMenu (only motion initiates drag)
This commit is contained in:
parent
0cba6c4bda
commit
f2fa6f0529
|
|
@ -719,7 +719,6 @@ static void handleActionEvents(WMEvent * event, void *data)
|
||||||
* Button press on the main button view: open the menu. */
|
* Button press on the main button view: open the menu. */
|
||||||
if (event->window == bPtr->menuView->window) {
|
if (event->window == bPtr->menuView->window) {
|
||||||
bPtr->highlightedItem = event->u.button.y / bPtr->view->size.height;
|
bPtr->highlightedItem = event->u.button.y / bPtr->view->size.height;
|
||||||
bPtr->flags.insideMenu = 1;
|
|
||||||
} else {
|
} else {
|
||||||
popUpMenu(bPtr);
|
popUpMenu(bPtr);
|
||||||
if (!bPtr->flags.pullsDown) {
|
if (!bPtr->flags.pullsDown) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue