Client: Close xdg popups using QWSI::handleCloseEvent()
This shouldn't matter in practice, the main motivation behind this change is to make window closing code consistent both for xdg-toplevels and xdg-popups. Change-Id: I74ef11ddbaf942cb545bb04baf7b35979adde81c Reviewed-by: David Redondo <qt@david-redondo.de>
This commit is contained in:
parent
c8451104de
commit
a3f4b0671f
@ -288,7 +288,7 @@ void QWaylandXdgSurface::Popup::xdg_popup_configure(int32_t x, int32_t y, int32_
|
||||
|
||||
void QWaylandXdgSurface::Popup::xdg_popup_popup_done()
|
||||
{
|
||||
m_xdgSurface->m_window->window()->close();
|
||||
QWindowSystemInterface::handleCloseEvent(m_xdgSurface->m_window->window());
|
||||
}
|
||||
|
||||
QWaylandXdgSurface::QWaylandXdgSurface(QWaylandXdgShell *shell, ::xdg_surface *surface, QWaylandWindow *window)
|
||||
|
Loading…
x
Reference in New Issue
Block a user