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:
parent
eddced099d
commit
ac80307eba
1 changed files with 1 additions and 0 deletions
|
@ -1723,6 +1723,7 @@ bool XdgPopupWindow::hasPopupGrab() const
|
||||||
void XdgPopupWindow::popupDone()
|
void XdgPopupWindow::popupDone()
|
||||||
{
|
{
|
||||||
m_shellSurface->sendPopupDone();
|
m_shellSurface->sendPopupDone();
|
||||||
|
destroyWindow();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool XdgPopupWindow::isPopupWindow() const
|
bool XdgPopupWindow::isPopupWindow() const
|
||||||
|
|
Loading…
Reference in a new issue