glx: Fix a regression in the new XCB code