diff options
Diffstat (limited to 'Xext/geint.h')
-rw-r--r-- | Xext/geint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/geint.h b/Xext/geint.h index 9e131d3b3..57404d872 100644 --- a/Xext/geint.h +++ b/Xext/geint.h @@ -45,14 +45,14 @@ from the author. extern int GEEventType; extern int GEEventBase; extern int GEErrorBase; -extern int GEClientPrivateIndex; +extern DevPrivateKey GEClientPrivateKey; typedef struct _GEClientInfo { CARD32 major_version; CARD32 minor_version; } GEClientInfoRec, *GEClientInfoPtr; -#define GEGetClient(pClient) ((GEClientInfoPtr) (pClient)->devPrivates[GEClientPrivateIndex].ptr) +#define GEGetClient(pClient) ((GEClientInfoPtr)(dixLookupPrivate(&((pClient)->devPrivates), GEClientPrivateKey))) extern int (*ProcGEVector[/*GENumRequests*/])(ClientPtr); extern int (*SProcGEVector[/*GENumRequests*/])(ClientPtr); |