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);
|
||||
pointer_grabbed = 0;
|
||||
|
||||
submenu_destroyed = 1;
|
||||
if (!XtIsShell (XtParent (w)))
|
||||
submenu_destroyed = 1;
|
||||
|
||||
release_drawing_gcs (mw);
|
||||
release_shadow_gcs (mw);
|
||||
|
|
Loading…
Add table
Reference in a new issue