un-Q'tile partially max'd clients on startMoveResize

BUG: 303937
REVIEW: 105699
This commit is contained in:
Thomas Lübking 2012-07-25 09:44:59 +02:00
parent fd9db6814c
commit b0576b1f08

View file

@ -2541,7 +2541,8 @@ bool Client::startMoveResize()
geom_restore = geometry(); // "restore" to current geometry
setMaximize(false, false);
}
}
} else if (quick_tile_mode != QuickTileNone) // no longer now - we move, resize is handled below
setQuickTileMode(QuickTileNone); // otherwise we mess every second tile, bug #303937
} else if ((maximizeMode() == MaximizeFull && options->electricBorderMaximize()) ||
(quick_tile_mode != QuickTileNone && isMovable() && mode == PositionCenter)) {
// Exit quick tile mode when the user attempts to move a tiled window, cannot use isMove() yet