[wayland] Add repaints on geometry changes

icc-effect-5.14.5
Martin Gräßlin 2015-08-20 09:38:19 +02:00
parent 296313b2fc
commit 28b48e69fb
1 changed files with 6 additions and 0 deletions

View File

@ -258,8 +258,14 @@ void ShellClient::setGeometry(const QRect &rect)
if (geom == rect) {
return;
}
if (!m_unmapped) {
addWorkspaceRepaint(visibleRect());
}
const QRect old = geom;
geom = rect;
if (!m_unmapped) {
addWorkspaceRepaint(visibleRect());
}
emit geometryChanged();
emit geometryShapeChanged(this, old);
}