https://bugs.kde.org/show_bug.cgi?id=359797

Thomas Lübking <thomas.luebk...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
     Ever confirmed|0                           |1

--- Comment #5 from Thomas Lübking <thomas.luebk...@gmail.com> ---
You likely installed the recompiled kwin version out of PATH or similar - the
patch works (tested gtk3-demo which shares CSD & relevant props) and the props
support that.

Correct patch (motif hint must be flagged & invoking rules is nice - neither is
relevant for the behavior)

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;
     }


Review-request as soon as I can focus for more than a minute next time :-(

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to