summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2016-12-12 14:39:00 +0100
committerJohan Helsing <johan.helsing@qt.io>2016-12-13 13:35:20 +0000
commitecbe24a8c014197db5b4ff13bb580ba7ffba471d (patch)
tree07ad2b536f9b47d01f905b479153c80610ac34c7 /src/client
parent9fd54bac3075eb74413776657464027a277d43cf (diff)
Handle the zxdg_toplevel_v6.close event
Change-Id: I9f470930e8d3d88430f8a7b2017fa2d0159a015e Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client')
-rw-r--r--src/client/qwaylandxdgshellv6.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandxdgshellv6.cpp b/src/client/qwaylandxdgshellv6.cpp
index b45498d80..687973240 100644
--- a/src/client/qwaylandxdgshellv6.cpp
+++ b/src/client/qwaylandxdgshellv6.cpp
@@ -80,6 +80,7 @@ void QWaylandXdgSurfaceV6::Toplevel::zxdg_toplevel_v6_configure(int32_t width, i
void QWaylandXdgSurfaceV6::Toplevel::zxdg_toplevel_v6_close()
{
+ m_xdgSurface->m_window->window()->close();
}
QWaylandXdgSurfaceV6::Popup::Popup(QWaylandXdgSurfaceV6 *xdgSurface, QWaylandXdgSurfaceV6 *parent,