Handle the zxdg_toplevel_v6.close event

Change-Id: I9f470930e8d3d88430f8a7b2017fa2d0159a015e
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
This commit is contained in:
Johan Klokkhammer Helsing 2016-12-12 14:39:00 +01:00 committed by Johan Helsing
parent fb41b1c4e1
commit dfb9a78e6c

View File

@ -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,