wayland: Make XdgPopupWindow also destroy Window

Arguably, the compositor doesn't need to wait any longer after dismissing
the popup because it knows that the popup has been closed.

BUG: 490097
This commit is contained in:
Vlad Zahorodnii 2024-07-19 10:58:29 +03:00 committed by Xaver Hugl
parent eddced099d
commit ac80307eba

View file

@ -1723,6 +1723,7 @@ bool XdgPopupWindow::hasPopupGrab() const
void XdgPopupWindow::popupDone()
{
m_shellSurface->sendPopupDone();
destroyWindow();
}
bool XdgPopupWindow::isPopupWindow() const