Add new hidden property in WaylandSurfaceItem to control visibility.
authorSamuel Rødal <samuel.rodal@nokia.com>
Fri, 6 May 2011 12:57:40 +0000 (14:57 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Mon, 9 May 2011 07:31:09 +0000 (09:31 +0200)
commit3be92b70f5c737d336e3d9da96945ff8ba5cf3e5
treedd148eeb0ea8d15460bdd92ca2f6147986bc1586
parent81daa842a9b1bc84dce25f5a43205d809d24814d
Add new hidden property in WaylandSurfaceItem to control visibility.

This lets us control visibility while still having the mouse events
working. We usually want to hide the surface item if it has a shader
effect item modifying its appearance (since otherwise both the source
and the shader effect items are shown, blended on top of each other).
examples/qml-compositor/qml/QmlCompositor/ShaderEffect.qml
examples/qml-compositor/qml/QmlCompositor/WindowChrome.qml
src/qt-compositor/compositor_api/waylandsurfaceitem.cpp
src/qt-compositor/compositor_api/waylandsurfaceitem.h