summaryrefslogtreecommitdiff
path: root/x11/p5-Tk/patches/patch-ai
blob: eeb377c0f42a2509c38cd764420e25e96bc5332f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$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,