summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2011-02-01 20:17:13 +0800
committerSam Spilsbury <sam.spilsbury@canonical.com>2011-02-01 20:17:13 +0800
commit8373a8e35b945e2560275d23453f7d93dd1cba02 (patch)
treef07873fc06e165f84531156c62ba82927242a490
parent5a0d23e2f2436847e1693ab3864f437b5783befa (diff)
downloadkdecompat-8373a8e35b945e2560275d23453f7d93dd1cba02.tar.gz
kdecompat-8373a8e35b945e2560275d23453f7d93dd1cba02.tar.bz2
Don't implicitly enable paint functions for windows in the stack above
the window that we want to activate paint functions on. Also check paint functions on slide property update
-rw-r--r--src/kdecompat.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/kdecompat.cpp b/src/kdecompat.cpp
index 724eda8..5fb812c 100644
--- a/src/kdecompat.cpp
+++ b/src/kdecompat.cpp
@@ -41,8 +41,8 @@ KDECompatScreen::checkPaintFunctions ()
kcw->mSlideData->remaining > 0.0));
enabled |= wEnabled;
- kcw->gWindow->glPaintSetEnabled (kcw, enabled);
- kcw->cWindow->damageRectSetEnabled (kcw, enabled);
+ kcw->gWindow->glPaintSetEnabled (kcw, wEnabled);
+ kcw->cWindow->damageRectSetEnabled (kcw, wEnabled);
}
KDECOMPAT_SCREEN (screen);
@@ -493,6 +493,8 @@ KDECompatWindow::updateSlidePosition ()
}
else
window->windowNotifySetEnabled (this, false);
+
+ ks->checkPaintFunctions ();
}
void