[wayland] Add repaints on geometry changes
This commit is contained in:
parent
296313b2fc
commit
28b48e69fb
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue