]> git.eshelyaron.com Git - emacs.git/commit
Avoid using too up-to-date values when restoring valuators
authorPo Lu <luangruo@yahoo.com>
Fri, 4 Nov 2022 11:21:22 +0000 (19:21 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 4 Nov 2022 11:23:19 +0000 (19:23 +0800)
commit01471b5fdff21fcb23b7718d9cd99bf5c08645ba
treedb58de78daf1d609ab47d8dd8606527567d158a2
parenta248eb3d184d018795461b5d1a27a373fda4bce8
Avoid using too up-to-date values when restoring valuators

* src/xterm.c (xi_has_scroll_valuators): New function.
(xi_handle_device_changed): If the device changed event provides
scroll valuators, then use the values in there.  (bug#58980)
src/xterm.c