mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08: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
1 changed files with 2 additions and 1 deletions
|
|
@ -2105,7 +2105,8 @@ XlwMenuDestroy (Widget w)
|
||||||
ungrab_all ((Widget)w, CurrentTime);
|
ungrab_all ((Widget)w, CurrentTime);
|
||||||
pointer_grabbed = 0;
|
pointer_grabbed = 0;
|
||||||
|
|
||||||
submenu_destroyed = 1;
|
if (!XtIsShell (XtParent (w)))
|
||||||
|
submenu_destroyed = 1;
|
||||||
|
|
||||||
release_drawing_gcs (mw);
|
release_drawing_gcs (mw);
|
||||||
release_shadow_gcs (mw);
|
release_shadow_gcs (mw);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue