]> git.eshelyaron.com Git - emacs.git/commit
Add an option to rely on passive touch grabs on X
authorPo Lu <luangruo@yahoo.com>
Sat, 8 Jan 2022 10:24:53 +0000 (18:24 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 8 Jan 2022 10:24:53 +0000 (18:24 +0800)
commit86ed4b985871e20d55fe01c3d1e60de71cab91d9
tree6e45de4d00c4514a36f2bd68127b3b50c7d54fed
parente86a2ce5fccae57e134d6f19d02b5c46dfce6efc
Add an option to rely on passive touch grabs on X

This prevents crashes with three-finger touch gestures on
Xwayland running on GNOME Shell, and also when running some
programs that make use of an Emacs window's XID on the same X
server.

* src/xterm.c (handle_one_xevent): Respect
`x-input-grab-touch-events'.
(syms_of_xterm): New option `x-input-grab-touch-events.
src/xterm.c