1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../sourcenav-ng/tk-lastevent.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
18 tk8.3/tk.tcl: no event type or button # or keysym
20 http://bugs.gentoo.org/show_bug.cgi?id=225999
22 --- ./tk/generic/tk.h.orig 2008-02-06 16:31:40.000000000 +0100
23 +++ ./tk/generic/tk.h 2008-07-24 08:21:46.000000000 +0200
26 *---------------------------------------------------------------------------
28 -#define VirtualEvent (LASTEvent)
29 -#define ActivateNotify (LASTEvent + 1)
30 -#define DeactivateNotify (LASTEvent + 2)
31 -#define MouseWheelEvent (LASTEvent + 3)
32 -#define TK_LASTEVENT (LASTEvent + 4)
33 +#define VirtualEvent (MappingNotify + 1)
34 +#define ActivateNotify (MappingNotify + 2)
35 +#define DeactivateNotify (MappingNotify + 3)
36 +#define MouseWheelEvent (MappingNotify + 4)
37 +#define TK_LASTEVENT (MappingNotify + 5)
39 #define MouseWheelMask (1L << 28)
41 #define ActivateMask (1L << 29)
42 #define VirtualEventMask (1L << 30)
43 -#define TK_LASTEVENT (LASTEvent + 4)