Commit 575b5b9a authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(xmenu_show): Don't call XtUngrabPointer here.

parent 20cda85b
......@@ -1626,10 +1626,12 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
/* The mouse moved into a different menu bar item.
We should bring up that item's menu instead.
First pop down this menu. */
#if 0 /* xlwmenu.c now does this. */
XtUngrabPointer ((Widget)
((XlwMenuWidget)
((CompositeWidget)menu)->composite.children[0]),
CurrentTime);
#endif
lw_destroy_all_widgets (menu_id);
goto pop_down;
}
......@@ -1702,10 +1704,12 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
/* The mouse moved into a different menu bar item.
We should bring up that item's menu instead.
First pop down this menu. */
#if 0 /* xlwmenu.c now does this. */
XtUngrabPointer ((Widget)
((XlwMenuWidget)
((CompositeWidget)menu)->composite.children[0]),
event.xbutton.time);
#endif
lw_destroy_all_widgets (menu_id);
/* Put back an event that will bring up the other item's menu. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment