[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kwin] /: respect motif and rules on unmaximizing
From: Thomas_Lübking <thomas.luebking () gmail ! com>
Date: 2016-02-29 8:49:31
Message-ID: E1aaJWF-0001TC-QF () scm ! kde ! org
[Download RAW message or body]
Git commit 9d09cf6dc9cb36ebf94663106a87141642599430 by Thomas Lübking.
Committed on 29/02/2016 at 08:48.
Pushed by luebking into branch 'master'.
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
M +1 -1 geometry.cpp
http://commits.kde.org/kwin/9d09cf6dc9cb36ebf94663106a87141642599430
diff --git a/geometry.cpp b/geometry.cpp
index 1bffa9b..2a07a20 100644
--- a/geometry.cpp
+++ b/geometry.cpp
@@ -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; }
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic