]> git.eshelyaron.com Git - emacs.git/commit
Fix menu dismissal problems on Xt builds with XI2
authorPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 03:01:39 +0000 (11:01 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 03:01:39 +0000 (11:01 +0800)
commite379d2e8c18e8d9a0f859a8d90621fc898a9caf7
tree8901ea609d461446ad0735d3a25686913fd935cf
parente2fcbd8dbd091bb72915297c92a801cbe66f13c9
Fix menu dismissal problems on Xt builds with XI2

* src/xmenu.c (prepare_for_entry_into_toolkit_menu)
(leave_toolkit_menu): New functions.
(create_and_show_popup_menu): Replace some of the grab logic
with resetting the XI event mask instead.
src/xmenu.c