]> git.eshelyaron.com Git - emacs.git/commit
Fix xwidget smooth scrolling when the default pointer is not a touchpad
authorPo Lu <luangruo@yahoo.com>
Thu, 7 Apr 2022 11:43:15 +0000 (19:43 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 7 Apr 2022 11:43:41 +0000 (19:43 +0800)
commitc1a6aa0c3eb1029e3f7f5c3b227d7952bee775b8
treebaea1994026691a3c99ed74c023e589f07984125
parent4c8e23d5d7fb662dc9eefba67b52ae5df0dffe62
Fix xwidget smooth scrolling when the default pointer is not a touchpad

* xwidget.c (find_suitable_pointer): New argument
`need_smooth'.  Try to find a touchpad if that is set.
(xwidget_button_1, xwidget_button, xwidget_motion_notify)
(xwidget_scroll, xwidget_pinch, xw_notify_virtual_upwards_until)
(xw_notify_virtual_downwards_until):
(xw_maybe_synthesize_crossing):
(xwidget_motion_or_crossing, synthesize_focus_in_event): Set
parameter accordingly.
src/xwidget.c