respect motif and rules on unmaximizing
when restoring a borderless maximized, the window shall not suddenly be decorated BUG: 359797 FIXED-IN: 5.6 REVIEW: 127198
This commit is contained in:
parent
0e80a16db5
commit
9d09cf6dc9
1 changed files with 1 additions and 1 deletions
|
@ -2256,7 +2256,7 @@ void Client::changeMaximize(bool vertical, bool horizontal, bool adjust)
|
|||
// triggers a maximize change.
|
||||
// The next setNoBorder interation will exit since there's no change but the first recursion pullutes the restore geometry
|
||||
changeMaximizeRecursion = true;
|
||||
setNoBorder(app_noborder || max_mode == MaximizeFull);
|
||||
setNoBorder(rules()->checkNoBorder(app_noborder || (m_motif.hasDecoration() && m_motif.noBorder()) || max_mode == MaximizeFull));
|
||||
changeMaximizeRecursion = false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue