summaryrefslogtreecommitdiffstats
path: root/kwin/clients/redmond
diff options
context:
space:
mode:
Diffstat (limited to 'kwin/clients/redmond')
-rw-r--r--kwin/clients/redmond/redmond.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kwin/clients/redmond/redmond.cpp b/kwin/clients/redmond/redmond.cpp
index fab104d8b..9fd625dde 100644
--- a/kwin/clients/redmond/redmond.cpp
+++ b/kwin/clients/redmond/redmond.cpp
@@ -395,7 +395,7 @@ int RedmondDeco::layoutMetric(LayoutMetric lm, bool respectWindowState, const KC
return border ? borderWidth+2 : 2;
case LM_TitleEdgeTop:
- return border ? borderWidth+1 : 2;
+ return border ? borderWidth+1 : 1;
case LM_TitleEdgeBottom:
return border ? 1 : 0;
@@ -405,7 +405,7 @@ int RedmondDeco::layoutMetric(LayoutMetric lm, bool respectWindowState, const KC
return border ? 1 : 0;
case LM_TitleHeight:
- return titleHeight-2;
+ return border ? titleHeight-2 : titleHeight-1;
case LM_ButtonWidth:
return titleHeight-2;