]> git.eshelyaron.com Git - emacs.git/commit
Restore valuator values after receiving a DeviceChanged event
authorPo Lu <luangruo@yahoo.com>
Mon, 14 Feb 2022 03:51:22 +0000 (11:51 +0800)
committerPo Lu <luangruo@yahoo.com>
Mon, 14 Feb 2022 03:51:22 +0000 (11:51 +0800)
commit80f8dd654014aff065df76095aedfd09c21faf92
treefd2c50f1f65b035473306614042a4e6ac93c9bc4
parent1bf30718dd1e4284af285e4a92c336f512564f01
Restore valuator values after receiving a DeviceChanged event

* src/xterm.c (x_init_master_valuators): Generate valuators for
both master and slave devices.
(handle_one_xevent): Find current valuator info and use that to
populate scroll valuators after a device changed.
src/xterm.c