summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <sam.spilsbury@canonical.com>2011-03-14 23:50:29 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-03-14 23:50:29 +0800
commitbe0e7d9cc9702df89ec324b050744a07d5c0310f (patch)
tree163be89e440247ab6961f6b894dae667388ce8fd
parent285a62449f79c1416dcaf6e7dddb8f74d2a6b3eb (diff)
downloadstaticswitcher-be0e7d9cc9702df89ec324b050744a07d5c0310f.tar.gz
staticswitcher-be0e7d9cc9702df89ec324b050744a07d5c0310f.tar.bz2
Update for new core API
-rw-r--r--src/staticswitcher.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/staticswitcher.cpp b/src/staticswitcher.cpp
index 8e85f8d..a671471 100644
--- a/src/staticswitcher.cpp
+++ b/src/staticswitcher.cpp
@@ -172,7 +172,7 @@ StaticSwitchScreen::getPaintRectangle (CompWindow *w,
if (w->isViewable () || w->shaded ())
{
- rect = w->inputRect ();
+ rect = w->borderRect ();
return true;
}
else if (mode == HighlightRectHiddenTaskbarEntry &&
@@ -186,7 +186,7 @@ StaticSwitchScreen::getPaintRectangle (CompWindow *w,
}
else if (mode == HighlightRectHiddenOriginalWindowPosition)
{
- rect = w->serverInputRect ();
+ rect = w->serverBorderRect ();
if (opacity)
*opacity /= 4;