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

[USE_X_TOOLKIT] (xmenu_show): Handle UnmapNotify events.

parent b6522df6
......@@ -1719,6 +1719,13 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
else if (event.type == UnmapNotify)
/* If the menu disappears, there is no need to stay in the
loop. */
if (event.xunmap.window == menu->core.window)
XtDispatchEvent (&event);
if (queue_and_exit
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