forked from ports/contrib
27 lines
1010 B
Diff
27 lines
1010 B
Diff
diff -pruN tk8.5.3.orig/generic/tk.h tk8.5.3/generic/tk.h
|
|
--- tk8.5.3.orig/generic/tk.h 2008-07-25 16:42:42.533614257 +1000
|
|
+++ tk8.5.3/generic/tk.h 2008-07-25 16:46:22.831615277 +1000
|
|
@@ -627,17 +627,15 @@ typedef struct Tk_GeomMgr {
|
|
*---------------------------------------------------------------------------
|
|
*/
|
|
|
|
-#define VirtualEvent (LASTEvent)
|
|
-#define ActivateNotify (LASTEvent + 1)
|
|
-#define DeactivateNotify (LASTEvent + 2)
|
|
-#define MouseWheelEvent (LASTEvent + 3)
|
|
-#define TK_LASTEVENT (LASTEvent + 4)
|
|
+#define VirtualEvent (MappingNotify + 1)
|
|
+#define ActivateNotify (MappingNotify + 2)
|
|
+#define DeactivateNotify (MappingNotify + 3)
|
|
+#define MouseWheelEvent (MappingNotify + 4)
|
|
+#define TK_LASTEVENT (MappingNotify + 5)
|
|
|
|
#define MouseWheelMask (1L << 28)
|
|
-
|
|
#define ActivateMask (1L << 29)
|
|
#define VirtualEventMask (1L << 30)
|
|
-#define TK_LASTEVENT (LASTEvent + 4)
|
|
|
|
/*
|
|
* A virtual event shares most of its fields with the XKeyEvent and
|