diff options
Diffstat (limited to 'kwin/workspace.cpp')
-rw-r--r-- | kwin/workspace.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/kwin/workspace.cpp b/kwin/workspace.cpp index bc8914f5b..fe8ad8faa 100644 --- a/kwin/workspace.cpp +++ b/kwin/workspace.cpp @@ -90,6 +90,7 @@ Workspace::Workspace( bool restore ) rules_updates_disabled( false ), active_client (0), last_active_client (0), + next_active_client (0), most_recently_raised (0), movingClient(0), pending_take_activity ( NULL ), @@ -699,6 +700,24 @@ void Workspace::updateFocusChains( Client* c, FocusChainChange change ) } } +void Workspace::updateOverlappingShadows(unsigned long window) + { + Client *client; + + if ((client = findClient(WindowMatchPredicate((WId)window)))) + // Redraw overlapping shadows without waiting for the specified window + // to redraw its own shadow + client->drawOverlappingShadows(false); + } + +void Workspace::setShadowed(unsigned long window, bool shadowed) + { + Client *client; + + if ((client = findClient(WindowMatchPredicate((WId)window)))) + client->setShadowed(shadowed); + } + void Workspace::updateCurrentTopMenu() { if( !managingTopMenus()) |