]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xwidget.h: Fix build with XI 2.4.
authorPo Lu <luangruo@yahoo.com>
Tue, 1 Mar 2022 07:45:50 +0000 (15:45 +0800)
committerPo Lu <luangruo@yahoo.com>
Tue, 1 Mar 2022 07:45:50 +0000 (15:45 +0800)
src/xwidget.h

index be1460ede5b88db99fcfb858c65056dfdae8cfa3..502beb6765094c3691911569ce44669209388461 100644 (file)
@@ -223,7 +223,7 @@ extern void xwidget_motion_notify (struct xwidget_view *, double,
                                   double, double, double, uint, Time);
 extern void xwidget_scroll (struct xwidget_view *, double, double,
                             double, double, uint, Time, bool);
-#ifdef HAVE_USABLE_XI_GESTURE_PINCH_EVENT
+#ifdef HAVE_XINPUT2_4
 extern void xwidget_pinch (struct xwidget_view *, XIGesturePinchEvent *);
 #endif
 #endif