Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f22aa617
Commit
f22aa617
authored
Jul 17, 1994
by
Richard M. Stallman
Browse files
[USE_X_TOOLKIT] (xmenu_show): Handle UnmapNotify events.
parent
b6522df6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/xmenu.c
src/xmenu.c
+7
-0
No files found.
src/xmenu.c
View file @
f22aa617
...
...
@@ -1719,6 +1719,13 @@ xmenu_show (f, x, y, menubarp, keymaps, title, error)
break;
}
}
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)
break;
}
XtDispatchEvent (&event);
if (queue_and_exit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment