summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandextendedsurface.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2012-02-22 16:33:19 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2012-03-12 15:15:07 +0100
commit6433819e7141af4dac103b2b74f1db4cc33954d1 (patch)
treeae33718a7caed9c6e0435aef24accc1f7c9f3f19 /src/plugins/platforms/wayland/qwaylandextendedsurface.h
parent6f95a1515d92f04c4f185a686688c39f9a9a489e (diff)
react to and send expose events
Change-Id: I55d52717e62feb4010895d55fe5b82e0eb7acc1b Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandextendedsurface.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylandextendedsurface.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandextendedsurface.h b/src/plugins/platforms/wayland/qwaylandextendedsurface.h
index 9efb638cf..9d4534b81 100644
--- a/src/plugins/platforms/wayland/qwaylandextendedsurface.h
+++ b/src/plugins/platforms/wayland/qwaylandextendedsurface.h
@@ -76,6 +76,8 @@ public:
Qt::WindowFlags setWindowFlags(Qt::WindowFlags flags);
+ bool isExposed() const { return m_exposed; }
+
private:
QWaylandWindow *m_window;
struct wl_extended_surface *m_extended_surface;
@@ -93,6 +95,7 @@ private:
static const struct wl_extended_surface_listener extended_surface_listener;
+ bool m_exposed;
};
#endif // QWAYLANDEXTENDEDSURFACE_H