From 239104b4f48c900173cb0687c4a0a72000ed552e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sun, 7 Jun 2015 02:38:53 +0200 Subject: [PATCH] [wayland] Trigger layerRepaint on old geometry when changing geometry Applies for the case that we have a positionAfterResize. --- shell_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shell_client.cpp b/shell_client.cpp index 3eeab316a9..9fb6532171 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -161,6 +161,7 @@ void ShellClient::addDamage(const QRegion &damage) m_clientSize = m_shellSurface->surface()->buffer()->size(); QPoint position = geom.topLeft(); if (m_positionAfterResize.isValid()) { + addLayerRepaint(geometry()); position = m_positionAfterResize.point(); m_positionAfterResize.clear(); }