]> git.eshelyaron.com Git - emacs.git/commit
Improve grabbing detection with multiple master devices (MPX)
authorPo Lu <luangruo@yahoo.com>
Fri, 24 Jun 2022 02:57:35 +0000 (10:57 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 24 Jun 2022 02:57:35 +0000 (10:57 +0800)
commitbf5c75465f37ad45934f58287660f18ec0bcf7bf
tree837922f74e8e90f3f357169b72d77842be189d5c
parentab203b0ce26f4989c7fc80185207c6c40bbfa5fe
Improve grabbing detection with multiple master devices (MPX)

* src/frame.c (gui_mouse_grabbed): Respect any_grab_hook.
* src/termhooks.h (GCALIGNED_STRUCT): New hook `any_grab_hook'.
* src/xterm.c (x_have_any_grab): New function.
(x_create_terminal): Define hook on XI2 builds.
src/frame.c
src/termhooks.h
src/xterm.c