Withdraw partial maximization state when resizing partially maximized client but moveResizeMaximizedWindows() isn't true
REVIEW: 103683 BUG: 290990 FIXED-IN: 4.8
This commit is contained in:
parent
07685da24e
commit
d57a0a05ab
1 changed files with 1 additions and 1 deletions
|
@ -2567,7 +2567,7 @@ bool Client::startMoveResize()
|
|||
// If we have quick maximization enabled then it's safe to automatically restore windows
|
||||
// when starting a move as the user can undo their action by moving the window back to
|
||||
// the top of the screen. When the setting is disabled then doing so is confusing.
|
||||
if (maximizeMode() != MaximizeRestore && options->moveResizeMaximizedWindows()) {
|
||||
if (maximizeMode() != MaximizeRestore && (maximizeMode() != MaximizeFull || options->moveResizeMaximizedWindows())) {
|
||||
// allow moveResize, but unset maximization state in resize case
|
||||
if (mode != PositionCenter) { // means "isResize()" but moveResizeMode = true is set below
|
||||
geom_restore = geom_pretile = geometry(); // "restore" to current geometry
|
||||
|
|
Loading…
Reference in a new issue