summaryrefslogtreecommitdiffstats
path: root/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
diff options
context:
space:
mode:
authorRobin Burchell <robin.burchell@jollamobile.com>2013-08-06 02:11:59 +0200
committerAndy Nichols <andy.nichols@digia.com>2013-08-06 13:18:50 +0200
commit36504778f08620a74b82db6ef9333a54b3be43e8 (patch)
tree3e3c4ba74a3cbdda95ae15ddc210dc9c01e59088 /src/compositor/wayland_wrapper/qwlextendedsurface.cpp
parentb704431e9cd4b3e0da0d73d7f7e8cea428ecfce4 (diff)
Implement QPlatformWindow::raise() in QWaylandWindow and relay it to the compositor
Change-Id: I744f9799730810e4afc73f86487a34aa0fd8405b Done-with: Vesa Halttunen <vesa.halttunen@jollamobile.com> Reviewed-by: Jan Arne Petersen <jan.petersen@kdab.com> Reviewed-by: Andrew Knight <andrew.knight@digia.com> Reviewed-by: Andy Nichols <andy.nichols@digia.com>
Diffstat (limited to 'src/compositor/wayland_wrapper/qwlextendedsurface.cpp')
-rw-r--r--src/compositor/wayland_wrapper/qwlextendedsurface.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compositor/wayland_wrapper/qwlextendedsurface.cpp b/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
index 3ab886489..0f6ce8caa 100644
--- a/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
+++ b/src/compositor/wayland_wrapper/qwlextendedsurface.cpp
@@ -161,6 +161,16 @@ void ExtendedSurface::extended_surface_destroy_resource(Resource *)
delete this;
}
+void ExtendedSurface::extended_surface_raise(Resource *)
+{
+ emit m_surface->waylandSurface()->raiseRequested();
+}
+
+void ExtendedSurface::extended_surface_lower(Resource *)
+{
+ emit m_surface->waylandSurface()->lowerRequested();
+}
+
}
QT_END_NAMESPACE