Fixed XComposite hardware integration.
authorSamuel Rødal <samuel.rodal@nokia.com>
Wed, 14 Sep 2011 11:48:33 +0000 (13:48 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Wed, 14 Sep 2011 12:13:16 +0000 (14:13 +0200)
commite3aace811c9d53adf25853ef4e92681ecb983cc3
treec0ef50011e6f321985b0cb633982b94ee8542a27
parent58115de07f644fdc936e6474ac4a63e4bce77e61
Fixed XComposite hardware integration.

The root window needs to actually be mapped in order for
XCompositeNameWindowPixmap to work.

Also make sure to set both the window and pixmap bits in case we're on a
stricter EGL / GLX implementation.
src/qt-compositor/hardware_integration/xcomposite_egl/xcompositeeglintegration.cpp
src/qt-compositor/hardware_integration/xcomposite_glx/xcompositeglxintegration.cpp
src/qt-compositor/hardware_integration/xcomposite_share/xcompositehandler.cpp