summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKristian Lyngstol <kristian@bohemians.org>2007-12-23 01:46:31 +0100
committerKristian Lyngstol <kristian@windu.lyngstol.net>2007-12-23 01:46:31 +0100
commitaf6e14fe1c376c666701dcf9a686d27e18733631 (patch)
tree94931621ed5c66a21692c59ef8152f68299eec58
parent918bcab0cd2327d59a441eb6194bdae53e84f320 (diff)
downloadshelf-af6e14fe1c376c666701dcf9a686d27e18733631.tar.gz
shelf-af6e14fe1c376c666701dcf9a686d27e18733631.tar.bz2
Ignore Desktop and Dock type windows
-rw-r--r--shelf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/shelf.c b/shelf.c
index 835e0a2..1638022 100644
--- a/shelf.c
+++ b/shelf.c
@@ -107,6 +107,8 @@ shelfScaleWindow (CompWindow *w, float scale)
SHELF_SCREEN (w->screen);
SHELF_WINDOW (w);
+ if (w->wmType & (CompWindowTypeDesktopMask | CompWindowTypeDockMask))
+ return;
sw->targetScale = scale;
if (sw->targetScale > 1.0f)
sw->targetScale = 1.0f;