Gentoo Archives: gentoo-commits

From: "Steve Arnold (nerdboy)" <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/sourcenav/files: sourcenav_tk-8.3-lastevent.patch
Date: Mon, 29 Dec 2008 23:24:28
Message-Id: E1LHRTG-0005B2-9h@stork.gentoo.org
1 nerdboy 08/12/29 23:24:26
2
3 Added: sourcenav_tk-8.3-lastevent.patch
4 Log:
5 Updated with Tk patch for xproto header changes (see bug #252700).
6 (Portage version: 2.2_rc17/cvs/Linux 2.6.27.7 x86_64)
7
8 Revision Changes Path
9 1.1 dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/sourcenav/files/sourcenav_tk-8.3-lastevent.patch?rev=1.1&content-type=text/plain
13
14 Index: sourcenav_tk-8.3-lastevent.patch
15 ===================================================================
16 --- tk/generic/tk.h.orig 2008-12-29 12:55:34.381918897 -0800
17 +++ tk/generic/tk.h 2008-12-29 13:02:19.255919795 -0800
18 @@ -557,17 +557,15 @@
19 *
20 *---------------------------------------------------------------------------
21 */
22 -#define VirtualEvent (LASTEvent)
23 -#define ActivateNotify (LASTEvent + 1)
24 -#define DeactivateNotify (LASTEvent + 2)
25 -#define MouseWheelEvent (LASTEvent + 3)
26 -#define TK_LASTEVENT (LASTEvent + 4)
27 +#define VirtualEvent (MappingNotify + 1)
28 +#define ActivateNotify (MappingNotify + 2)
29 +#define DeactivateNotify (MappingNotify + 3)
30 +#define MouseWheelEvent (MappingNotify + 4)
31 +#define TK_LASTEVENT (MappingNotify + 5)
32
33 #define MouseWheelMask (1L << 28)
34 -
35 #define ActivateMask (1L << 29)
36 #define VirtualEventMask (1L << 30)
37 -#define TK_LASTEVENT (LASTEvent + 4)
38
39
40 /*