emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 6654dfc83c: * src/xwidget.h: Fix build with XI 2.4.


From: Po Lu
Subject: master 6654dfc83c: * src/xwidget.h: Fix build with XI 2.4.
Date: Tue, 1 Mar 2022 02:46:15 -0500 (EST)

branch: master
commit 6654dfc83cfcf15557054ea4d1ed41d9f87aa61b
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    * 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 be1460ede5..502beb6765 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]