checkWorkspacePosition: Don't adjust to shaded sz
since the client is currently empty, we'll resort to client hints, ie. effectively resize windows when shading them (setGeometry and plainResize have extra checks on whether this geometry is only the decoration height to not smear client_size) REVIEW: 123882 BUG: 348064
This commit is contained in:
parent
7f71c89111
commit
0b9cfffe1a
1 changed files with 2 additions and 1 deletions
|
@ -1216,7 +1216,8 @@ void Client::checkWorkspacePosition(QRect oldGeometry, int oldDesktop)
|
|||
|
||||
checkOffscreenPosition(&newGeom, screenArea);
|
||||
// Obey size hints. TODO: We really should make sure it stays in the right place
|
||||
newGeom.setSize(adjustedSize(newGeom.size()));
|
||||
if (!isShade())
|
||||
newGeom.setSize(adjustedSize(newGeom.size()));
|
||||
|
||||
if (newGeom != geometry())
|
||||
setGeometry(newGeom);
|
||||
|
|
Loading…
Reference in a new issue