diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-30 03:51:30 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-30 03:51:30 +0000 |
commit | 1a308b9fda185e0ea35b276da5814710935b0578 (patch) | |
tree | 8f8877bbf51de7d33d34dd47ba725e13071b38cf /kwin/clients | |
parent | 4f396b03eb06f2f441615ab6c56f2c3ae43e8590 (diff) | |
download | tdebase-1a308b9fda185e0ea35b276da5814710935b0578.tar.gz tdebase-1a308b9fda185e0ea35b276da5814710935b0578.zip |
Another "redmond" kwin client fix
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1243972 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/clients')
-rw-r--r-- | kwin/clients/redmond/redmond.cpp | 4 |
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; |