summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-01-18 18:04:03 +0100
committerLiang Qi <liang.qi@qt.io>2018-01-18 18:04:03 +0100
commit06230d22488796d92ea130e985d1e0ee2ed05199 (patch)
tree85829879b207a1a53db04e877ec2ae66294009db /src/hardwareintegration
parent8ab1765b0f9640eb410864971cb4336adc7b30ab (diff)
parent6793a0a907f3aa92f8f8bd5448505c152d0e3a3d (diff)
Merge remote-tracking branch 'origin/5.9' into 5.10
Diffstat (limited to 'src/hardwareintegration')
-rw-r--r--src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
index 2a9e39ed6..f4dd6f492 100644
--- a/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
+++ b/src/hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp
@@ -407,7 +407,7 @@ bool QWaylandGLContext::makeCurrent(QPlatformSurface *surface)
window->createDecoration();
if (eglSurface == EGL_NO_SURFACE) {
- window->updateSurface(true);
+ window->updateSurface(window->isExposed());
eglSurface = window->eglSurface();
}