summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-04-19 14:48:57 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-19 14:48:57 (GMT)
commitc0021af006e9cc10ddc6123bf712af6ce77757c0 (patch)
tree3459b200a0b9437d7e9bc154d7ad084770aac67c /src/plugins
parentfe5567572030a30c643ae8d98b57e95e49bab905 (diff)
downloadQt-c0021af006e9cc10ddc6123bf712af6ce77757c0.zip
Qt-c0021af006e9cc10ddc6123bf712af6ce77757c0.tar.gz
Qt-c0021af006e9cc10ddc6123bf712af6ce77757c0.tar.bz2
Added missing function in QWaylandWindow.
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/platforms/wayland/qwaylandwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandwindow.h b/src/plugins/platforms/wayland/qwaylandwindow.h
index 1e60508..47d49a7 100644
--- a/src/plugins/platforms/wayland/qwaylandwindow.h
+++ b/src/plugins/platforms/wayland/qwaylandwindow.h
@@ -74,6 +74,9 @@ public:
void damage(const QRegion &region);
void waitForFrameSync();
+
+ struct wl_surface *wl_surface() const { return mSurface; }
+
protected:
struct wl_surface *mSurface;
virtual void newSurfaceCreated();