summaryrefslogtreecommitdiff
path: root/src/xwidget.h
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-03-01 15:45:50 +0800
committerPo Lu <luangruo@yahoo.com>2022-03-01 15:45:50 +0800
commit6654dfc83cfcf15557054ea4d1ed41d9f87aa61b (patch)
tree0304cef6f8cd690e831c261a7782529aea7a7abe /src/xwidget.h
parentdd71222208324a1c6dad3ad42e3c73645ceb94f5 (diff)
downloademacs-6654dfc83cfcf15557054ea4d1ed41d9f87aa61b.tar.gz
* src/xwidget.h: Fix build with XI 2.4.
Diffstat (limited to 'src/xwidget.h')
-rw-r--r--src/xwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xwidget.h b/src/xwidget.h
index be1460ede5b..502beb67650 100644
--- a/src/xwidget.h
+++ b/src/xwidget.h
@@ -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