diff options
Diffstat (limited to 'src/plugins/platforms/wayland_common/qwaylandshmbackingstore.cpp')
-rw-r--r-- | src/plugins/platforms/wayland_common/qwaylandshmbackingstore.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/wayland_common/qwaylandshmbackingstore.cpp b/src/plugins/platforms/wayland_common/qwaylandshmbackingstore.cpp index decf34a7..b444d2b2 100644 --- a/src/plugins/platforms/wayland_common/qwaylandshmbackingstore.cpp +++ b/src/plugins/platforms/wayland_common/qwaylandshmbackingstore.cpp @@ -206,9 +206,9 @@ void QWaylandShmBackingStore::flush(QWindow *window, const QRegion ®ion, cons bool damageAll = false; if (waylandWindow()->attached() != mFrontBuffer) { delete waylandWindow()->attached(); - waylandWindow()->attachOffset(mFrontBuffer); damageAll = true; } + waylandWindow()->attachOffset(mFrontBuffer); if (damageAll) { //need to damage it all, otherwise the attach offset may screw up |