[gtk/gtk-3-24: 2/4] Add define for GC_ALLGESTURES, in-case WINVER is not set.




commit 37f9af58059252c27197444f13fd9fe5b65ef4b4
Author: Melroy van den Berg <melroy melroy org>
Date:   Tue Dec 28 00:50:17 2021 +0100

    Add define for GC_ALLGESTURES, in-case WINVER is not set.

 gdk/win32/winpointer.h | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/gdk/win32/winpointer.h b/gdk/win32/winpointer.h
index ee3e42e063..786f6016c7 100644
--- a/gdk/win32/winpointer.h
+++ b/gdk/win32/winpointer.h
@@ -138,6 +138,10 @@
 #define PA_ACTIVATE MA_ACTIVATE
 #define PA_NOACTIVATE MA_NOACTIVATE
 
+#ifndef GC_ALLGESTURES
+#define GC_ALLGESTURES 0x1
+#endif
+
 typedef DWORD POINTER_INPUT_TYPE;
 typedef UINT32 POINTER_FLAGS;
 typedef UINT32 TOUCH_FLAGS;


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