don't restore unrestorable window sizes on Q'unmax
BUG: 340600 REVIEW: 121022
This commit is contained in:
parent
ec8f7e1fac
commit
b26ef9302a
1 changed files with 2 additions and 1 deletions
|
@ -1417,7 +1417,8 @@ bool Client::motionNotifyEvent(xcb_window_t w, int state, int x, int y, int x_ro
|
|||
setQuickTileMode(QuickTileNone);
|
||||
moveOffset = QPoint(double(moveOffset.x()) / double(oldGeo.width()) * double(geom_restore.width()),
|
||||
double(moveOffset.y()) / double(oldGeo.height()) * double(geom_restore.height()));
|
||||
moveResizeGeom = geom_restore;
|
||||
if (rules()->checkMaximize(MaximizeRestore) == MaximizeRestore)
|
||||
moveResizeGeom = geom_restore;
|
||||
handleMoveResize(x, y, x_root, y_root); // fix position
|
||||
} else if (quick_tile_mode == QuickTileNone && isResizable()) {
|
||||
checkQuickTilingMaximizationZones(x_root, y_root);
|
||||
|
|
Loading…
Reference in a new issue