summaryrefslogtreecommitdiffstats
path: root/kwin/kompmgr/kompmgr.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-29 00:41:04 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-29 00:41:04 +0000
commit5e5763fa9c41017f9d2349226fad24db7c0723f0 (patch)
tree034ad5724f792dbc396e5d8dbaf930045db91fd2 /kwin/kompmgr/kompmgr.c
parentafb2c168c783226ad1b97f0b1423def304ae1de9 (diff)
downloadtdebase-5e5763fa9c41017f9d2349226fad24db7c0723f0.tar.gz
tdebase-5e5763fa9c41017f9d2349226fad24db7c0723f0.zip
Fix desktop transparency fade out in kompmgr
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1249956 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kwin/kompmgr/kompmgr.c')
-rw-r--r--kwin/kompmgr/kompmgr.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/kwin/kompmgr/kompmgr.c b/kwin/kompmgr/kompmgr.c
index ad0d469a0..53aacc148 100644
--- a/kwin/kompmgr/kompmgr.c
+++ b/kwin/kompmgr/kompmgr.c
@@ -1473,10 +1473,12 @@ paint_all (Display *dpy, XserverRegion region)
For example, if you want to blur the background or show another
background pixmap entirely here is the place to do it; simply
draw the new background onto rootBuffer before continuing! */
- if (w->show_root_tile == True) {
- XRenderComposite (dpy, PictOpSrc, rootTile, None, rootBuffer,
- x, y, x, y,
- x, y, wid, hei);
+ if (w->isInFade == False) {
+ if (w->show_root_tile == True) {
+ XRenderComposite (dpy, PictOpSrc, rootTile, None, rootBuffer,
+ x, y, x, y,
+ x, y, wid, hei);
+ }
}
XRenderComposite (dpy, PictOpOver, w->picture, w->alphaPict, rootBuffer,
0, 0, 0, 0,