summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wayland/qwaylandextendedoutput.h
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2012-06-06 12:22:49 +0200
committerSamuel Rødal <samuel.rodal@nokia.com>2012-06-06 13:53:54 +0200
commit825db7e265e4e6b5bbab68aeb3e9673ba78f92e5 (patch)
tree4ad3118f50488d0822143e1c2d596e9f5a0b74c7 /src/plugins/platforms/wayland/qwaylandextendedoutput.h
parent077067bc8f68a3146430b941ea0f0daa61781f91 (diff)
Implemented orientationUpdateMask support in WaylandSurface.
Used to find out whether the client wants orientation updates. Change-Id: Ibefc98df7b346cbfe13cb021c932dab3d6c5d758 Reviewed-by: Laszlo Agocs <laszlo.p.agocs@nokia.com>
Diffstat (limited to 'src/plugins/platforms/wayland/qwaylandextendedoutput.h')
-rw-r--r--src/plugins/platforms/wayland/qwaylandextendedoutput.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wayland/qwaylandextendedoutput.h b/src/plugins/platforms/wayland/qwaylandextendedoutput.h
index 6ca6220b2..5f39d959f 100644
--- a/src/plugins/platforms/wayland/qwaylandextendedoutput.h
+++ b/src/plugins/platforms/wayland/qwaylandextendedoutput.h
@@ -62,6 +62,8 @@ public:
QWaylandExtendedOutput(QWaylandScreen *screen, struct wl_extended_output *extended_output);
Qt::ScreenOrientation currentOrientation() const;
+ void setOrientationUpdateMask(Qt::ScreenOrientations mask);
+
private:
struct wl_extended_output *m_extended_output;
QWaylandScreen *m_screen;