X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fxcb_out.c;h=e371cd196ba3370f915a5fd6eedc4f67d0cd9600;hb=442730a9a25644e6d09065cdde2f1595ea65caf3;hp=26679732698c52c3c389c15faec75c592ffbd0b7;hpb=771761ccaad31d029d470dde84279e94494310b6;p=free-sw%2Fxcb%2Flibxcb diff --git a/src/xcb_out.c b/src/xcb_out.c index 2667973..e371cd1 100644 --- a/src/xcb_out.c +++ b/src/xcb_out.c @@ -144,7 +144,7 @@ unsigned int XCBSendRequest(XCBConnection *c, int flags, struct iovec *vector, c flags &= ~XCB_REQUEST_RAW; /* do we need to work around the X server bug described in glx.xml? */ - if(req->ext && !req->isvoid && strcmp(req->ext->name, "GLX") && + if(req->ext && !req->isvoid && !strcmp(req->ext->name, "GLX") && ((req->opcode == 17 && ((CARD32 *) vector[0].iov_base)[0] == 0x10004) || req->opcode == 21)) workaround = WORKAROUND_GLX_GET_FB_CONFIGS_BUG;