mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Fix menu bar not opening after popup menu is dismissed on Lucid
* lwlib/xlwmenu.c (XlwMenuDestroy): Only set submenu_destroyed if menu bar widget.
This commit is contained in:
parent
4592fb4046
commit
65f0785917
@ -2105,7 +2105,8 @@ XlwMenuDestroy (Widget w)
|
||||
ungrab_all ((Widget)w, CurrentTime);
|
||||
pointer_grabbed = 0;
|
||||
|
||||
submenu_destroyed = 1;
|
||||
if (!XtIsShell (XtParent (w)))
|
||||
submenu_destroyed = 1;
|
||||
|
||||
release_drawing_gcs (mw);
|
||||
release_shadow_gcs (mw);
|
||||
|
Loading…
Reference in New Issue
Block a user