[wayland] Trigger layerRepaint on old geometry when changing geometry

Applies for the case that we have a positionAfterResize.
This commit is contained in:
Martin Gräßlin 2015-06-07 02:38:53 +02:00
parent b196ad7052
commit 239104b4f4

View file

@ -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();
}