The XCBConnectionOfDisplay function was replaced by the XGetXCBConnection API described in MixingCalls.