We will be able to use touchpad (not touchscreen) gestures, such
as pinch and swipe gestures after this change, but they are not
yet exposed to Lisp.
* src/xterm.c (x_term_init): Declare support for XI 2.4 if
present.
dpyinfo->supports_xi2 = false;
int rc;
int major = 2;
-#ifdef XI_BarrierHit /* XInput 2.3 */
+#ifdef XI_GesturePinchBegin /* XInput 2.4 */
+ int minor = 4;
+#elif XI_BarrierHit /* XInput 2.3 */
int minor = 3;
#elif defined XI_TouchBegin /* XInput 2.2 */
int minor = 2;