summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-11-01 18:30:11 +0100
committerDanny Baumann <dannybaumann@web.de>2007-11-01 18:30:11 +0100
commit4d9cbc8c71327f7ba21bca3a7d0f3962855b9675 (patch)
tree372f9ba6f2895d48e2b84bc1bb2cb982cb3b19bf
parentbb2c3149510999e3dfb042872c0bd442af64890a (diff)
downloadfadedesktop-4d9cbc8c71327f7ba21bca3a7d0f3962855b9675.tar.gz
fadedesktop-4d9cbc8c71327f7ba21bca3a7d0f3962855b9675.tar.bz2
Don't touch docks and desktops as well as skip pager windows.
-rw-r--r--fadedesktop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fadedesktop.c b/fadedesktop.c
index 51df2cb..a24b56e 100644
--- a/fadedesktop.c
+++ b/fadedesktop.c
@@ -114,6 +114,13 @@ static Bool isFDWin(CompWindow *w)
if (!w->managed)
return FALSE;
+ if (w->type & (CompWindowTypeDesktopMask |
+ CompWindowTypeDockMask))
+ return FALSE;
+
+ if (w->state & CompWindowStateSkipPagerMask)
+ return FALSE;
+
if (!matchEval(fadedesktopGetWindowMatch(w->screen), w))
return FALSE;