]> git.eshelyaron.com Git - emacs.git/commit
Allow handling smooth scroll events in xwidgets
authorPo Lu <luangruo@yahoo.com>
Sun, 21 Nov 2021 03:04:29 +0000 (11:04 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 21 Nov 2021 03:06:02 +0000 (11:06 +0800)
commit39f3604e229ff349742dab0d6a5c7b4500530c07
tree25e7c72fb0116975d1bf18fb82df2976587131d9
parentf16bb8693f0122cea447edc243885428a4b8d370
Allow handling smooth scroll events in xwidgets

* src/xterm.c (handle_one_xevent): Pass through XI2 motion
events to xwidgets.
* src/xterm.c (xwidget_button): Don't handle legacy scroll
events on XInput 2.
(xwidget_motion_notify, xwidget_scroll): New functions.
src/xterm.c
src/xwidget.c
src/xwidget.h