summaryrefslogtreecommitdiff
path: root/showdesktop.c
diff options
context:
space:
mode:
Diffstat (limited to 'showdesktop.c')
-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;