]> git.eshelyaron.com Git - emacs.git/commit
Improve XInput2 version checking
authorPo Lu <luangruo@yahoo.com>
Tue, 22 Feb 2022 10:41:28 +0000 (18:41 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 22 Feb 2022 10:41:28 +0000 (18:41 +0800)
commitc914572a46ca1e9de14bfeb4a6e993714f146851
tree7c63274e185173c92235d8bd05e647acc78a869e
parent8d02624c0ec029ee99e0b1e410429c440bcc4499
Improve XInput2 version checking

* configure.ac: Check for various important structures from all
versions of libXi.

* src/xfns.c (setup_xi_event_mask):
* src/xwidget.c (x_draw_xwidget_glyph_string):
* src/xterm.c (x_init_master_valuators, handle_one_xevent)
(x_term_init): Replace XI version checks based on protocol
headers with new constants.

* src/xterm.h (HAVE_XINPUT2_1, HAVE_XINPUT2_2, HAVE_XINPUT2_3)
(HAVE_XINPUT2_4): New definitions.
configure.ac
src/xfns.c
src/xterm.c
src/xterm.h
src/xwidget.c