]> git.eshelyaron.com Git - emacs.git/commit
Condition out things specific to some versions of the input extension
authorPo Lu <luangruo@yahoo.com>
Thu, 24 Feb 2022 01:11:53 +0000 (09:11 +0800)
committerPo Lu <luangruo@yahoo.com>
Thu, 24 Feb 2022 01:11:53 +0000 (09:11 +0800)
commitd132bfe6cdb18d12a63c80b4846d6e2404d05ec2
treed30c4eef3171f5b75248112f52fdea5bfcdbc5f8
parent7b0e8cf347a1135e4355214634f114685e9041c3
Condition out things specific to some versions of the input extension

* src/xterm.c (x_free_xi_devices, x_init_master_valuators)
(handle_one_xevent): Condition out code that isn't supposed to
be run on the current input extension version.
* src/xterm.h (struct xi_scroll_valuator_t): Make conditional on
HAVE_XINPUT2_1.
(struct xi_touch_point_t): Make conditional on HAVE_XINPUT2_2.
(struct xi_device_t): Make individual fields conditional on the
appropriate client-side input extension version.
src/xterm.c
src/xterm.h