]> git.eshelyaron.com Git - emacs.git/commit
Fix menus on the no-toolkit build when using XI2
authorPo Lu <luangruo@yahoo.com>
Sun, 23 Jan 2022 11:34:39 +0000 (19:34 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 23 Jan 2022 11:34:39 +0000 (19:34 +0800)
commit32e1894943ee9bf9e17afa92b1520d3c4765e37a
tree1da4cafa4a2899a0ef2df4f46302e3e420229f17
parent1319d108dae70a8349110acd0f88d22436a9a70c
Fix menus on the no-toolkit build when using XI2

* src/xmenu.c (x_activate_menubar):
(create_and_show_popup_menu): Only ungrab the device if it is
actually grabbed.
(x_menu_show): Release XI2 passive grab.
src/xmenu.c