]> git.eshelyaron.com Git - emacs.git/commit
Fix mouse face persisting inside Lucid menus on XI2
authorPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 03:55:35 +0000 (11:55 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 6 May 2022 03:55:35 +0000 (11:55 +0800)
commitf515ff05e086e74b203b91fb4fba319e24e0fb54
treecb9cd8326a9681612f9d5401fa0e39bb5b0059a8
parentd6b5ac0f949b08cab78921b1d95a47ca0a95bc36
Fix mouse face persisting inside Lucid menus on XI2

* src/xmenu.c (create_and_show_popup_menu): Call `x_mouse_leave'
on Lucid as well when the input extension is being used.

* src/xterm.c (x_mouse_leave): Enable on Lucid XI2 builds.
* src/xterm.h: Update prototypes.
src/xmenu.c
src/xterm.c
src/xterm.h