]> git.eshelyaron.com Git - emacs.git/commit
Coalesce duplicate scroll valuator handling code
authorPo Lu <luangruo@yahoo.com>
Sun, 20 Nov 2022 13:01:10 +0000 (21:01 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 20 Nov 2022 13:03:18 +0000 (21:03 +0800)
commit8874cd908c0ea0e2200f6f4f596bf645e76a0c0c
tree74ce2acccfbf8ef434d428377a000a8003947465
parent16318bfb518aa7bc06e502e6fad7e53ec91067f9
Coalesce duplicate scroll valuator handling code

Also, write more commentary.

* src/xterm.c (xi_populate_scroll_valuator): New function.
Describe the meaning of each field in xi_scroll_valuator_t.
(xi_populate_device_from_info, xi_handle_new_classes): Factor
out duplicate code to that function.
src/xterm.c