summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glx/glxext.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/glx/glxext.c b/src/glx/glxext.c
index baa2489fd19..12fff22399d 100644
--- a/src/glx/glxext.c
+++ b/src/glx/glxext.c
@@ -887,7 +887,11 @@ __glXInitialize(Display * dpy)
return NULL;
}
+#ifdef USE_XCB
+ __glX_send_client_info(dpyPriv);
+#else
__glXClientInfo(dpy, dpyPriv->majorOpcode);
+#endif
/* Grab the lock again and add the dispay private, unless somebody
* beat us to initializing on this display in the meantime. */