diff options
author | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-02 18:16:40 +0930 |
---|---|---|
committer | Peter Hutterer <peter@cs.unisa.edu.au> | 2007-05-02 18:16:40 +0930 |
commit | c03d9a7217f9895feed8cfed3ede4752faf6187c (patch) | |
tree | d1a4e140696c3894fdbce9f2d97dc9e01c98b5fa /Xext/geext.c | |
parent | e6fd4a24ebd205013b41e44aacbbfb847709d2fd (diff) |
Cleaning up a bit.
Register correct event in EventSwapVector.
Fix up event swap for GE events, register XI's swap function at GE.
Diffstat (limited to 'Xext/geext.c')
-rw-r--r-- | Xext/geext.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Xext/geext.c b/Xext/geext.c index 7c4573e8c..fed74dc54 100644 --- a/Xext/geext.c +++ b/Xext/geext.c @@ -235,8 +235,7 @@ GEExtensionInit(void) memset(GEExtensions, 0, sizeof(GEExtensions)); - EventSwapVector[GEEventBase + X_GenericEvent] = - (EventSwapPtr) SGEGenericEvent; + EventSwapVector[X_GenericEvent] = (EventSwapPtr) SGEGenericEvent; } else { FatalError("GEInit: AddExtensions failed.\n"); } |