]> git.eshelyaron.com Git - emacs.git/commit
Fix menu window persistence and entry/leave events on Lucid on XI2
authorPo Lu <luangruo@yahoo.com>
Mon, 27 Dec 2021 02:02:39 +0000 (10:02 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 27 Dec 2021 02:05:01 +0000 (10:05 +0800)
commitd9977018e045be002f2b48254215fda5f3a067fc
tree4506aad3d6645682d7b1f5af1dc969bc866a6663
parent2ccb1568876f6ac7d8b980d60d91a689e797ab36
Fix menu window persistence and entry/leave events on Lucid on XI2

* src/xmenu.c (x_activate_menubar): Always clear the XI2 grab on
Xt.
* src/xterm.c (handle_one_xevent): On XI2, ignore LeaveNotify
events coming from the shell widget and use `x_window_to_frame'
to find the frame when handling XI_Leave events.
src/xmenu.c
src/xterm.c