diff options
author | Michael Brasser <michael.brasser@jollamobile.com> | 2014-01-23 10:55:58 -0600 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-24 14:05:27 +0100 |
commit | 4fb6fb6612f1615729965f0515032d86695a86ba (patch) | |
tree | 274c8494e718fd3d5ec5f4d8e1b68e2b6e37ae5a /src/compositor/compositor_api/qwaylandsurfaceitem.h | |
parent | 15f82d0bc40eae635ed1377ae39253a8f515ea4a (diff) |
Add a separate variable to keep track of surface mapping.
Mapping a surface should not override a "paintEnabled: false"
in the QML.
Change-Id: Ib28499c24f34fead80e9f9ad0bbe9d72da5e1e9e
Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'src/compositor/compositor_api/qwaylandsurfaceitem.h')
-rw-r--r-- | src/compositor/compositor_api/qwaylandsurfaceitem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/qwaylandsurfaceitem.h b/src/compositor/compositor_api/qwaylandsurfaceitem.h index 93a0c62c0..b3b750e3c 100644 --- a/src/compositor/compositor_api/qwaylandsurfaceitem.h +++ b/src/compositor/compositor_api/qwaylandsurfaceitem.h @@ -143,6 +143,7 @@ private: QWaylandSurfaceTextureProvider *m_provider; QWaylandSurfaceNode *m_node; bool m_paintEnabled; + bool m_mapped; bool m_useTextureAlpha; bool m_clientRenderingEnabled; bool m_touchEventsEnabled; |