summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-11-01 18:48:18 +0100
committerDanny Baumann <dannybaumann@web.de>2007-11-01 18:48:18 +0100
commit272513fe51d20c2bd7938a2cd31c1c710ac4d673 (patch)
treeae3fab27c3ded631038808b00b46ccd57fcb4096
parent0e68a5f27979e191ba83bfc41fae27a1ee0b921b (diff)
downloadshowdesktop-272513fe51d20c2bd7938a2cd31c1c710ac4d673.tar.gz
showdesktop-272513fe51d20c2bd7938a2cd31c1c710ac4d673.tar.bz2
Don't showdesktop dock windows.
-rw-r--r--showdesktop.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/showdesktop.c b/showdesktop.c
index fb51c60..270e782 100644
--- a/showdesktop.c
+++ b/showdesktop.c
@@ -146,6 +146,10 @@ isSDWin (CompWindow *w)
if (!matchEval (showdesktopGetWindowMatch (w->screen), w))
return FALSE;
+ if (w->wmType & (CompWindowTypeDesktopMask |
+ CompWindowTypeDockMask))
+ return FALSE;
+
if (w->state & CompWindowStateSkipPagerMask)
return FALSE;