From 9954f1167f39d991b70f2c49d76d60421be39fe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 21 May 2015 13:30:55 +0200 Subject: [PATCH] [wayland] Call pixmapDiscarded when ShellClient's size changes --- shell_client.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shell_client.cpp b/shell_client.cpp index 13b8449904..0cee5573be 100644 --- a/shell_client.cpp +++ b/shell_client.cpp @@ -60,6 +60,7 @@ ShellClient::ShellClient(ShellSurfaceInterface *surface) [this] { m_clientSize = m_shellSurface->surface()->buffer()->size(); setGeometry(QRect(geom.topLeft(), m_clientSize)); + discardWindowPixmap(); } ); connect(surface, &ShellSurfaceInterface::destroyed, this, &ShellClient::destroyClient);