[wayland] Call pixmapDiscarded when ShellClient's size changes

This commit is contained in:
Martin Gräßlin 2015-05-21 13:30:55 +02:00
parent 20286fa671
commit 9954f1167f

View file

@ -60,6 +60,7 @@ ShellClient::ShellClient(ShellSurfaceInterface *surface)
[this] { [this] {
m_clientSize = m_shellSurface->surface()->buffer()->size(); m_clientSize = m_shellSurface->surface()->buffer()->size();
setGeometry(QRect(geom.topLeft(), m_clientSize)); setGeometry(QRect(geom.topLeft(), m_clientSize));
discardWindowPixmap();
} }
); );
connect(surface, &ShellSurfaceInterface::destroyed, this, &ShellClient::destroyClient); connect(surface, &ShellSurfaceInterface::destroyed, this, &ShellClient::destroyClient);