dont let maximizing occur if the window cant move or resize
This commit is contained in:
parent
92bc846ce1
commit
02b9d474f1
1 changed files with 4 additions and 0 deletions
|
@ -300,6 +300,10 @@ void Client::setupDecorAndFunctions()
|
|||
}
|
||||
}
|
||||
|
||||
// can't maximize without moving/resizing
|
||||
if (!((_functions & Func_Move) && (_functions & Func_Resize)))
|
||||
_functions &= ~Func_Maximize;
|
||||
|
||||
// finally, user specified disabled decorations are applied to subtract
|
||||
// decorations
|
||||
if (_disabled_decorations & Decor_Titlebar)
|
||||
|
|
Loading…
Reference in a new issue