]> git.eshelyaron.com Git - emacs.git/commit
Handle hierarchy events for updating scroll valuators correctly
authorPo Lu <luangruo@yahoo.com>
Sat, 9 Apr 2022 05:30:32 +0000 (13:30 +0800)
committerPo Lu <luangruo@yahoo.com>
Sat, 9 Apr 2022 05:30:32 +0000 (13:30 +0800)
commitf3f20a37fb3b7e02fc52b3787968e2a332f52119
treece12aa61bb30071879524a29a155e7cd1ee3e99b
parent378b4ccd4bb0d68afc498a0fc9a600bd1337cabb
Handle hierarchy events for updating scroll valuators correctly

* src/keyboard.c (gen_help_event, kbd_buffer_store_help_event):
Make sure to initialize the event buffer correctly.

* src/xterm.c (xi_populate_device_from_info): New function.
(x_init_master_valuators): Factor out most of the valuator
tracking code to that function.
(handle_one_xevent): Handle device enable and disable events in
a more detailed fashion.
src/keyboard.c
src/xterm.c