summaryrefslogtreecommitdiffstats
path: root/kwin/workspace.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/workspace.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/workspace.cpp')
-rw-r--r--kwin/workspace.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp
index 6829b3ccb..4d3199a18 100644
--- a/kwin/workspace.cpp
+++ b/kwin/workspace.cpp
@@ -521,7 +521,12 @@ void Workspace::addClient( Client* c, allowed_t )
c->setOpacity(options->translucentDocks, options->dockOpacity);
}
}
-//------------------------------------------------
+
+ if (c->isMenu() || c->isTopMenu())
+ {
+ c->setShadowSize(options->menuShadowSize);
+ }
+//------------------------------------------------
Group* grp = findGroup( c->window());
if( grp != NULL )
grp->gotLeader( c );