25 lines
759 B
Plaintext
25 lines
759 B
Plaintext
$NetBSD: patch-ai,v 1.2 2012/01/22 19:00:34 abs Exp $
|
|
|
|
--- pTk/mTk/generic/tkBind.c.orig 2010-05-29 09:56:11.000000000 +0000
|
|
+++ pTk/mTk/generic/tkBind.c
|
|
@@ -585,6 +585,9 @@ char *eventTypeName[TK_LASTEVENT] = {
|
|
"ColormapNotify",
|
|
"ClientMessage",
|
|
"MappingNotify",
|
|
+#ifdef GenericEvent
|
|
+ "GenericEvent", /* Introduced in xproto-7.0.13 */
|
|
+#endif
|
|
"VirtualEvent",
|
|
"Activate",
|
|
"Deactivate"
|
|
@@ -629,6 +632,9 @@ static int flagArray[TK_LASTEVENT] = {
|
|
/* ColormapNotify */ COLORMAP,
|
|
/* ClientMessage */ 0,
|
|
/* MappingNotify */ 0,
|
|
+#ifdef GenericEvent
|
|
+ /* GenericEvent */ 0, /* Introduced in xproto-7.0.13 */
|
|
+#endif
|
|
/* VirtualEvent */ VIRTUAL,
|
|
/* Activate */ ACTIVATE,
|
|
/* Deactivate */ ACTIVATE,
|