]> git.eshelyaron.com Git - emacs.git/commit
Write more commentary on XI2 device management
authorPo Lu <luangruo@yahoo.com>
Sun, 6 Nov 2022 11:37:02 +0000 (19:37 +0800)
committerPo Lu <luangruo@yahoo.com>
Sun, 6 Nov 2022 11:39:01 +0000 (19:39 +0800)
commitf305d1ab3a913ce30cfb28fdce48d99d65caf256
treed11ed5a30ae446b44731ee2b08c54fa20ce41915
parentcd296e19a2b1f77268a142977424c54cb94e633f
Write more commentary on XI2 device management

* src/xterm.c (xi_populate_device_from_info): Take dpyinfo.
Describe what master and slave devices are, how they represent
seats, and how they are used to multiplex user input.  Also
simplify ifdefs and avoid looping over scroll classes on XI 2.0.
(x_cache_xi_devices, handle_one_xevent): Adjust accordingly.
(x_term_init): Set dpyinfo->xi2_version before calling
x_cache_xi_devices.
src/xterm.c