summaryrefslogtreecommitdiffstats
path: root/kwin/workspace.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 19:42:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-07 19:42:15 +0000
commit9cc1e2c1aa2629d499e7555acd4906d6cc989cf9 (patch)
tree2a737f47bb029688c2f5ebef76869903cf4b4eec /kwin/workspace.cpp
parenteaa51fec106463800192924168eaf9f03f188655 (diff)
downloadtdebase-9cc1e2c1aa2629d499e7555acd4906d6cc989cf9.tar.gz
tdebase-9cc1e2c1aa2629d499e7555acd4906d6cc989cf9.zip
Merged in remaining kdebase bugfixes from the Chakra project
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1172677 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/workspace.cpp')
-rw-r--r--kwin/workspace.cpp19
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())