]> git.eshelyaron.com Git - emacs.git/commit
Fix input extension focus tracking with some window managers
authorPo Lu <luangruo@yahoo.com>
Wed, 24 Aug 2022 11:10:44 +0000 (19:10 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 24 Aug 2022 11:12:16 +0000 (19:12 +0800)
commite518146a3017669981b6d31c356d0bb105200928
treeef4846af53eb77924bb8e169776662332751a396
parent1007800a5994ac49b6bc9cd7528edb2d709d2031
Fix input extension focus tracking with some window managers

* src/xterm.c (handle_one_xevent): If a window manager sends us
FocusIn and FocusOut with XSendEvent (they do that), don't
detect focus changes when XInput 2 is enabled.  The X server
will tell us the actual truth if the focus really did change.
src/xterm.c