]> git.eshelyaron.com Git - emacs.git/commit
Fix handling of XI_DeviceChanged events
authorPo Lu <luangruo@yahoo.com>
Tue, 9 Aug 2022 03:06:06 +0000 (11:06 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 9 Aug 2022 03:08:15 +0000 (11:08 +0800)
commitf39d25d5fe2577493ec5718d11b57d1511de4f7f
tree38eace86ee62801a48136bd814cad87d42bb226b
parentfe4fd160a20e2935b9a6aba4dc5dfbb5e26fdfe1
Fix handling of XI_DeviceChanged events

* src/xterm.c (xi_get_scroll_valuator): New function.
(xi_handle_device_changed): New function.
(handle_one_xevent): Factor out most of the device changed code
to that function, and make it specifically query for the device
information.  (bug#57020)
src/xterm.c