summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Spilsbury <smspillaz@XPS-FEDORA.(none)>2010-05-05 23:05:14 +0800
committerSam Spilsbury <smspillaz@XPS-FEDORA.(none)>2010-05-05 23:05:14 +0800
commitb645ff8a98a044a0f881874812ca3d5914301a90 (patch)
tree3b146447c12755086583d30b493aa09c0575aaec
parentb1b70a6e5d762f73374a95a05d2ede0033077b44 (diff)
downloadfadedesktop-b645ff8a98a044a0f881874812ca3d5914301a90.tar.gz
fadedesktop-b645ff8a98a044a0f881874812ca3d5914301a90.tar.bz2
Load after composite, opengl and fix windows not fading out of showdesktop mode
-rw-r--r--fadedesktop.xml.in4
-rw-r--r--src/fadedesktop.cpp2
2 files changed, 5 insertions, 1 deletions
diff --git a/fadedesktop.xml.in b/fadedesktop.xml.in
index cadd3f9..75bbb48 100644
--- a/fadedesktop.xml.in
+++ b/fadedesktop.xml.in
@@ -5,6 +5,10 @@
<_long>Easily access your desktop</_long>
<category>Desktop</category>
<deps>
+ <relation type="after">
+ <plugin>composite</plugin>
+ <plugin>opengl</plugin>
+ </relation>
<relation type="before">
<plugin>fade</plugin>
</relation>
diff --git a/src/fadedesktop.cpp b/src/fadedesktop.cpp
index 9114b2c..a94d1b8 100644
--- a/src/fadedesktop.cpp
+++ b/src/fadedesktop.cpp
@@ -213,7 +213,7 @@ FadedesktopScreen::leaveShowDesktopMode (CompWindow *w)
cw->setShowDesktopMode (false);
cw->show ();
fw->isHidden = false;
- fw->fading = false;
+ fw->fading = true;
}
else if (fw->fading)
{