From 6a188437b4ee2242211157e0e91c893209044f0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Sat, 6 Mar 2010 13:42:48 +0000 Subject: [PATCH] Set title edge values to 0 for maximized windows in Aurorae. It is still possible to overwrite this setting in the theme config. FEATURE: 228491 svn path=/trunk/KDE/kdebase/workspace/; revision=1099993 --- clients/aurorae/src/themeconfig.cpp | 8 ++++---- clients/aurorae/theme-description | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/clients/aurorae/src/themeconfig.cpp b/clients/aurorae/src/themeconfig.cpp index 8632d4b238..53674cbda2 100644 --- a/clients/aurorae/src/themeconfig.cpp +++ b/clients/aurorae/src/themeconfig.cpp @@ -73,10 +73,10 @@ void ThemeConfig::load(KConfig *conf) m_titleEdgeBottom = border.readEntry("TitleEdgeBottom", 5); m_titleEdgeLeft = border.readEntry("TitleEdgeLeft", 5); m_titleEdgeRight = border.readEntry("TitleEdgeRight", 5); - m_titleEdgeTopMaximized = border.readEntry("TitleEdgeTopMaximized", m_titleEdgeTop); - m_titleEdgeBottomMaximized = border.readEntry("TitleEdgeBottomMaximized", m_titleEdgeBottom); - m_titleEdgeLeftMaximized = border.readEntry("TitleEdgeLeftMaximized", m_titleEdgeLeft); - m_titleEdgeRightMaximized = border.readEntry("TitleEdgeRightMaximized", m_titleEdgeRight); + m_titleEdgeTopMaximized = border.readEntry("TitleEdgeTopMaximized", 0); + m_titleEdgeBottomMaximized = border.readEntry("TitleEdgeBottomMaximized", 0); + m_titleEdgeLeftMaximized = border.readEntry("TitleEdgeLeftMaximized", 0); + m_titleEdgeRightMaximized = border.readEntry("TitleEdgeRightMaximized", 0); m_titleBorderLeft = border.readEntry("TitleBorderLeft", 5); m_titleBorderRight = border.readEntry("TitleBorderRight", 5); m_titleHeight = border.readEntry("TitleHeight", 20); diff --git a/clients/aurorae/theme-description b/clients/aurorae/theme-description index 474dbecdbb..8a97819f2d 100644 --- a/clients/aurorae/theme-description +++ b/clients/aurorae/theme-description @@ -108,10 +108,10 @@ TitleEdgeTop=5 TitleEdgeBottom=5 TitleEdgeLeft=5 TitleEdgeRight=5 -TitleEdgeTopMaximized=? # optional - default depends on TitleEdgeTop -TitleEdgeBottomMaximized=? # optional - default depends on TitleEdgeBottom -TitleEdgeLeftMaximized=? # optional - default depends on TitleEdgeLeft -TitleEdgeRightMaximized=? # optional - default depends on TitleEdgeRight +TitleEdgeTopMaximized=0 +TitleEdgeBottomMaximized=0 +TitleEdgeLeftMaximized=0 +TitleEdgeRightMaximized=0 TitleBorderLeft=5 TitleBorderRight=5 TitleHeight=20