aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xext/geext.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-04-15 12:37:07 +0000
committermarha <marha@users.sourceforge.net>2010-04-15 12:37:07 +0000
commit8654ee514b4d79feec936501717a06892090d3b7 (patch)
tree2787608c117268bc6ed9e399ea57b8e1d0aeb8e3 /xorg-server/Xext/geext.c
parenteb405babefc73e25ab8b7e6229709f85ef6a67b1 (diff)
downloadvcxsrv-8654ee514b4d79feec936501717a06892090d3b7.tar.gz
vcxsrv-8654ee514b4d79feec936501717a06892090d3b7.tar.bz2
vcxsrv-8654ee514b4d79feec936501717a06892090d3b7.zip
svn merge -r530:HEAD "^/branches/released" .
Diffstat (limited to 'xorg-server/Xext/geext.c')
-rw-r--r--xorg-server/Xext/geext.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/xorg-server/Xext/geext.c b/xorg-server/Xext/geext.c
index 2ba0ca824..f0a3d8778 100644
--- a/xorg-server/Xext/geext.c
+++ b/xorg-server/Xext/geext.c
@@ -36,11 +36,8 @@
#define rClient(obj) (clients[CLIENT_ID((obj)->resource)])
-int GEEventBase;
-int GEErrorBase;
static int GEClientPrivateKeyIndex;
DevPrivateKey GEClientPrivateKey = &GEClientPrivateKeyIndex;
-int GEEventType; /* The opcode for all GenericEvents will have. */
int RT_GECLIENT = 0;
@@ -178,10 +175,6 @@ GEResetProc(ExtensionEntry *extEntry)
{
DeleteCallback(&ClientStateCallback, GEClientCallback, 0);
EventSwapVector[GenericEvent] = NotImplemented;
-
- GEEventBase = 0;
- GEErrorBase = 0;
- GEEventType = 0;
}
/* Calls the registered event swap function for the extension.
@@ -225,14 +218,10 @@ GEExtensionInit(void)
}
if((extEntry = AddExtension(GE_NAME,
- GENumberEvents, GENumberErrors,
+ 0, GENumberErrors,
ProcGEDispatch, SProcGEDispatch,
GEResetProc, StandardMinorOpcode)) != 0)
{
- GEEventBase = extEntry->eventBase;
- GEErrorBase = extEntry->errorBase;
- GEEventType = GEEventBase;
-
memset(GEExtensions, 0, sizeof(GEExtensions));
EventSwapVector[GenericEvent] = (EventSwapPtr) SGEGenericEvent;