fix horizontal constrain in checkWorspacePosition
broke with fe51de8592f5777b57733f6e44924229c64cf80b - 2011... REVIEW: 109680
This commit is contained in:
parent
07dfaf3c03
commit
29e5023cfb
1 changed files with 1 additions and 1 deletions
|
@ -1207,7 +1207,7 @@ void Client::checkWorkspacePosition(QRect oldGeometry, int oldDesktop)
|
|||
newGeom.moveRight(qMin(rightMax - 1, screenArea.right()));
|
||||
// If the other side was inside make sure it still is afterwards (shrink appropriately)
|
||||
if (oldGeometry.x() >= oldLeftMax && newGeom.x() < leftMax)
|
||||
newGeom.moveRight(qMin(rightMax - 1, screenArea.right()));
|
||||
newGeom.setLeft(qMax(leftMax, screenArea.x()));
|
||||
}
|
||||
|
||||
checkOffscreenPosition(&newGeom, screenArea);
|
||||
|
|
Loading…
Reference in a new issue