summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Baumann <dannybaumann@web.de>2007-11-01 18:47:16 +0100
committerDanny Baumann <dannybaumann@web.de>2007-11-01 18:47:16 +0100
commit355eb242977e4e693d537239e61cd56d77699f63 (patch)
treeee07b2a7662b7489b6da853bbc64115cc51536b3
parent4d9cbc8c71327f7ba21bca3a7d0f3962855b9675 (diff)
downloadfadedesktop-355eb242977e4e693d537239e61cd56d77699f63.tar.gz
fadedesktop-355eb242977e4e693d537239e61cd56d77699f63.tar.bz2
Compare to real window type to also catch docks that have below state.
-rw-r--r--fadedesktop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fadedesktop.c b/fadedesktop.c
index a24b56e..e3d02ac 100644
--- a/fadedesktop.c
+++ b/fadedesktop.c
@@ -114,8 +114,8 @@ static Bool isFDWin(CompWindow *w)
if (!w->managed)
return FALSE;
- if (w->type & (CompWindowTypeDesktopMask |
- CompWindowTypeDockMask))
+ if (w->wmType & (CompWindowTypeDesktopMask |
+ CompWindowTypeDockMask))
return FALSE;
if (w->state & CompWindowStateSkipPagerMask)