xcb: consistently check xcb_get_extension_data for extension inits
authorShawn Rutledge <shawn.rutledge@digia.com>
Mon, 24 Sep 2012 13:23:12 +0000 (15:23 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 04:07:17 +0000 (06:07 +0200)
commite424354e85671928e6a1cf11cb5cf0a89ba9357f
tree20aa3832c66f9107e0a48c31bb0331ac21b1a6d9
parentae0ddb8c729c105a5b4f32a4f6765af8fe546333
xcb: consistently check xcb_get_extension_data for extension inits

This seems to fix the ability to run a Qt app across a forwarded X
connection (e.g.  ssh -X).

Change-Id: I2b7a26985cf11107e69b303337a5fbb369e38c9e
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Uli Schlachter <psychon@znc.in>
src/plugins/platforms/xcb/qxcbconnection.cpp