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