wayland: Close internal popups instead of hiding

Hiding the QWindow handle confuses QWidget, which results in user
actions menu not showing up on second launch. Might be a Qt bug.

On the other hand, it makes sense to close dismissed popups, so let's do
it.
This commit is contained in:
Vlad Zahorodnii 2023-03-31 14:26:26 +03:00
parent 4578cf352b
commit 4de69f2ef7

View file

@ -378,7 +378,7 @@ bool InternalWindow::hasPopupGrab() const
void InternalWindow::popupDone()
{
m_handle->hide();
m_handle->close();
}
const std::shared_ptr<QOpenGLFramebufferObject> &InternalWindow::fbo() const