We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1fabf0 commit 9653054Copy full SHA for 9653054
Xext/geext.c
@@ -39,8 +39,6 @@
39
40
DevPrivateKeyRec GEClientPrivateKeyRec;
41
42
-#define GEClientPrivateKey (&GEClientPrivateKeyRec)
43
-
44
/** Struct to keep information about registered extensions */
45
typedef struct _GEExtension {
46
/** Event swapping routine */
@@ -54,7 +52,7 @@ typedef struct _GEClientInfo {
54
52
CARD32 minor_version;
55
53
} GEClientInfoRec, *GEClientInfoPtr;
56
57
-#define GEGetClient(pClient) ((GEClientInfoPtr)(dixLookupPrivate(&((pClient)->devPrivates), GEClientPrivateKey)))
+#define GEGetClient(pClient) ((GEClientInfoPtr)(dixLookupPrivate(&((pClient)->devPrivates), &GEClientPrivateKeyRec)))
58
59
/* Forward declarations */
60
static void SGEGenericEvent(xEvent *from, xEvent *to);
0 commit comments