]> git.eshelyaron.com Git - emacs.git/commit
Improve xwidget event handling on XI2
authorPo Lu <luangruo@yahoo.com>
Wed, 29 Dec 2021 06:37:49 +0000 (14:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Wed, 29 Dec 2021 06:41:07 +0000 (14:41 +0800)
commit2b7d33e30b4b66bca405fed5b5483e864db6b1e5
treee68c7a196e0694269076b6c86b9cdac570f4ef88
parent22a9a205137f404863451c7dc43c15d2ef396325
Improve xwidget event handling on XI2

* src/xterm.c (handle_one_xevent): Pass XI2 entry and leave
events to xwidgets and fix scroll valuator reset logic for
xwidgets.

* src/xwidget.c (xwidget_button_1): Stop ungrabbing all devices
XI2 builds.
(xwidget_motion_or_crossing): Learn to pass through XI2 crossing
events.
(x_draw_xwidget_glyph_string): Add crossing events to the XI2
event mask.
src/xterm.c
src/xwidget.c