summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/wlsurface.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2012-02-10 15:43:59 +0100
committerJørgen Lind <jorgen.lind@nokia.com>2012-02-10 16:04:33 +0100
commit20f10e77329651204d6c1152f45f5555f0c3ccf4 (patch)
treee8034b1d0f2fc024252548ea8e8b9dd266b5ca37 /src/compositor/wayland_wrapper/wlsurface.cpp
parentf089f453ae6ea3766a0ec41059371f6dc81ce9df (diff)
Added window flags to the surface-extension protocol
Change-Id: I1b53c5f0b0f908490dcd0ab30e46ab681f885954 Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/wlsurface.cpp')
-rw-r--r--src/compositor/wayland_wrapper/wlsurface.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/compositor/wayland_wrapper/wlsurface.cpp b/src/compositor/wayland_wrapper/wlsurface.cpp
index be2eb14ba..223a350c4 100644
--- a/src/compositor/wayland_wrapper/wlsurface.cpp
+++ b/src/compositor/wayland_wrapper/wlsurface.cpp
@@ -623,6 +623,12 @@ Qt::ScreenOrientation Surface::contentOrientation() const
return d->extendedSurface ? d->extendedSurface->contentOrientation() : Qt::PrimaryOrientation;
}
+WaylandSurface::WindowFlags Surface::windowFlags() const
+{
+ Q_D(const Surface);
+ return d->extendedSurface ? d->extendedSurface->windowFlags() : WaylandSurface::WindowFlags(0);
+}
+
QPoint Surface::lastMousePos() const
{
Q_D(const Surface);