Merge remote-tracking branch 'origin/5.13' into dev
Change-Id: Ieab9f7c86371a7c047cf9b4a527fabcc541155e4
This commit is contained in:
commit
2ce5094bda
@ -398,7 +398,7 @@ QWaylandScreen *QWaylandWindow::calculateScreenFromSurfaceEvents() const
|
|||||||
void QWaylandWindow::setVisible(bool visible)
|
void QWaylandWindow::setVisible(bool visible)
|
||||||
{
|
{
|
||||||
if (visible) {
|
if (visible) {
|
||||||
if (window()->type() & (Qt::Popup | Qt::ToolTip))
|
if (window()->type() == Qt::Popup || window()->type() == Qt::ToolTip)
|
||||||
activePopups << this;
|
activePopups << this;
|
||||||
initWindow();
|
initWindow();
|
||||||
mDisplay->flushRequests();
|
mDisplay->flushRequests();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user