[wayland] Add repaints on geometry changes

This commit is contained in:
Martin Gräßlin 2015-08-20 09:38:19 +02:00
parent 296313b2fc
commit 28b48e69fb

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