Merge remote-tracking branch 'origin/5.13' into dev

Change-Id: Ieab9f7c86371a7c047cf9b4a527fabcc541155e4
This commit is contained in:
Qt Forward Merge Bot 2019-06-11 03:00:05 +02:00
commit 2ce5094bda

View File

@ -398,7 +398,7 @@ QWaylandScreen *QWaylandWindow::calculateScreenFromSurfaceEvents() const
void QWaylandWindow::setVisible(bool visible)
{
if (visible) {
if (window()->type() & (Qt::Popup | Qt::ToolTip))
if (window()->type() == Qt::Popup || window()->type() == Qt::ToolTip)
activePopups << this;
initWindow();
mDisplay->flushRequests();