summaryrefslogtreecommitdiffstats
path: root/kwin/options.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-11 23:52:14 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-11 23:52:14 +0000
commit5292ca5c9f8467aa40313b25de8121aebae3f22b (patch)
treeafb01d5aeb8e194ec874933f1fca56c87d89e085 /kwin/options.cpp
parenta5bdf0c27947342c49b14177ca116a1a35ce1f7e (diff)
downloadtdebase-5292ca5c9f8467aa40313b25de8121aebae3f22b.tar.gz
tdebase-5292ca5c9f8467aa40313b25de8121aebae3f22b.zip
Fix up kompmgr comfiguration and add skeleton for more options
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1246532 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/options.cpp')
-rw-r--r--kwin/options.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kwin/options.cpp b/kwin/options.cpp
index dc0ca2e8a..4f51bc1cd 100644
--- a/kwin/options.cpp
+++ b/kwin/options.cpp
@@ -186,6 +186,7 @@ unsigned long Options::updateSettings()
activeWindowShadowSize = config->readNumEntry("ActiveWindowShadowSize", 200);
inactiveWindowShadowSize = config->readNumEntry("InactiveWindowShadowSize", 100);
dockShadowSize = config->readNumEntry("DockShadowSize", 80);
+ menuShadowSize = config->readNumEntry("MenuShadowSize", 80);
removeShadowsOnMove = config->readBoolEntry("RemoveShadowsOnMove", true);
removeShadowsOnResize = config->readBoolEntry("RemoveShadowsOnResize", true);
onlyDecoTranslucent = config->readBoolEntry("OnlyDecoTranslucent",false);
@@ -197,6 +198,7 @@ unsigned long Options::updateSettings()
config->setGroup("Style");
shadow_colour = config->readColorEntry("ShadowColour", &TQt::black);
shadow_docks = config->readBoolEntry("ShadowDocks", false);
+ shadow_menus = config->readBoolEntry("ShadowMenus", false);
shadow_overrides = config->readBoolEntry("ShadowOverrides", false);
shadow_topMenus = config->readBoolEntry("ShadowTopMenus", false);
shadow_inactive_colour = config->readColorEntry("InactiveShadowColour", &TQt::black);
@@ -321,6 +323,8 @@ bool Options::shadowWindowType(NET::WindowType t)
break;
case NET::Desktop:
case NET::Menu:
+ retval = shadow_menus;
+ break;
case NET::Toolbar:
retval = false;
break;