From 6654dfc83cfcf15557054ea4d1ed41d9f87aa61b Mon Sep 17 00:00:00 2001 From: Po Lu Date: Tue, 1 Mar 2022 15:45:50 +0800 Subject: [PATCH] * src/xwidget.h: Fix build with XI 2.4. --- src/xwidget.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5