popup: all popDownMenu calls in BUTTON_RELEASE now guarded by menuView/insideMenu check
This commit is contained in:
parent
8c7b201823
commit
bbef21785b
|
|
@ -757,7 +757,9 @@ static void handleActionEvents(WMEvent * event, void *data)
|
|||
(*bPtr->action) (bPtr, bPtr->clientData);
|
||||
}
|
||||
}
|
||||
if (bPtr->menuView->flags.mapped)
|
||||
if (bPtr->menuView->flags.mapped
|
||||
&& (event->window == bPtr->menuView->window
|
||||
|| bPtr->flags.insideMenu))
|
||||
popDownMenu(bPtr);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue