Home
Phabricator
Search
Log In
Paste
P575
Masterwork From Distant Lands
Active
Public
Actions
Authored by
davidedmundson
on Apr 8 2020, 12:34 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp
index 0df99d9f..195e9385 100644
--- a/src/client/qwaylandwindow.cpp
+++ b/src/client/qwaylandwindow.cpp
@@ -427,6 +427,7 @@ void QWaylandWindow::setVisible(bool visible)
} else {
sendExposeEvent(QRect());
closePopups(this);
+ invalidateSurface();
reset();
}
}
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp
index 030422c5..a8eded3d 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandeglwindow.cpp
@@ -165,8 +165,6 @@ QSurfaceFormat QWaylandEglWindow::format() const
void QWaylandEglWindow::setVisible(bool visible)
{
QWaylandWindow::setVisible(visible);
- if (!visible)
- invalidateSurface();
}
void QWaylandEglWindow::invalidateSurface()
davidedmundson
edited the content of this paste.
(Show Details)
Apr 8 2020, 12:34 PM
davidedmundson
changed the title of this paste from untitled to
Masterwork From Distant Lands
.
Log In to Comment