summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2008-02-15 15:50:09 +0100
committerDanny Baumann <dannybaumann@web.de>2008-02-15 15:50:09 +0100
commitd70b880d9b5eb7948bf07f2433276e17116a50dd (patch)
treee6c092afced48131abac0aa8f8d0f593d5a9e451
parentd81ab446e8ac0bf287e55bf586fe685ddcb28648 (diff)
downloadshowdesktop-d70b880d9b5eb7948bf07f2433276e17116a50dd.tar.gz
showdesktop-d70b880d9b5eb7948bf07f2433276e17116a50dd.tar.bz2
Don't showdesktop grabbed windows.
-rw-r--r--showdesktop.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/showdesktop.c b/showdesktop.c
index 270e782..5fb4601 100644
--- a/showdesktop.c
+++ b/showdesktop.c
@@ -140,6 +140,9 @@ static int displayPrivateIndex;
static Bool
isSDWin (CompWindow *w)
{
+ if (w->grabbed)
+ return FALSE;
+
if (!(*w->screen->focusWindow) (w))
return FALSE;