projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4592fb4
)
Fix menu bar not opening after popup menu is dismissed on Lucid
author
Po Lu
<luangruo@yahoo.com>
Tue, 8 Feb 2022 02:37:24 +0000
(10:37 +0800)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 8 Feb 2022 02:37:24 +0000
(10:37 +0800)
* lwlib/xlwmenu.c (XlwMenuDestroy): Only set submenu_destroyed
if menu bar widget.
lwlib/xlwmenu.c
patch
|
blob
|
history
diff --git
a/lwlib/xlwmenu.c
b/lwlib/xlwmenu.c
index cf6a8b1387e74c80149aa730b5dc8602251cc8e4..ace5141cdbc0bb2523c87785839607be138ab3b2 100644
(file)
--- a/
lwlib/xlwmenu.c
+++ b/
lwlib/xlwmenu.c
@@
-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);