diff options
Diffstat (limited to 'kwin/workspace.cpp')
-rw-r--r-- | kwin/workspace.cpp | 7 |
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 ); |