From: Po Lu Date: Tue, 1 Mar 2022 07:45:50 +0000 (+0800) Subject: * src/xwidget.h: Fix build with XI 2.4. X-Git-Tag: emacs-29.0.90~2066 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6654dfc83cfcf15557054ea4d1ed41d9f87aa61b;p=emacs.git * src/xwidget.h: Fix build with XI 2.4. --- 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