diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2012-02-10 15:43:59 +0100 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2012-02-10 16:04:33 +0100 |
commit | 20f10e77329651204d6c1152f45f5555f0c3ccf4 (patch) | |
tree | e8034b1d0f2fc024252548ea8e8b9dd266b5ca37 /src/compositor/wayland_wrapper/wlsurface.cpp | |
parent | f089f453ae6ea3766a0ec41059371f6dc81ce9df (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.cpp | 6 |
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); |