From 5e5763fa9c41017f9d2349226fad24db7c0723f0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 29 Aug 2011 00:41:04 +0000 Subject: 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 --- kwin/kompmgr/kompmgr.c | 10 ++++++---- 1 file 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, -- cgit v1.2.1