]> git.eshelyaron.com Git - emacs.git/commit
Fix Lucid popup menu being stuck on XI2 builds
authorPo Lu <luangruo@yahoo.com>
Mon, 27 Dec 2021 01:16:18 +0000 (09:16 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 27 Dec 2021 01:16:18 +0000 (09:16 +0800)
commit2ccb1568876f6ac7d8b980d60d91a689e797ab36
tree8a14c53b473ec5f646060889f05a452c4f2c3df8
parent736bf3aaa72e8fdd1c37bb9c8d003b17ffb612f9
Fix Lucid popup menu being stuck on XI2 builds

* src/xmenu.c (x_activate_menubar): Make some changes
conditional on XI2.
(create_and_show_popup_menu): Clear XI2 grab before showing
popup.
* src/xterm.c (xi_grab_or_ungrab_device): Don't grab device
if popup is activated on Lucid.
src/xmenu.c
src/xterm.c