summaryrefslogtreecommitdiff
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 30990e08..8a3b12c8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -684,7 +684,8 @@ changeWindowState (CompWindow *w,
recalcWindowType (w);
recalcWindowActions (w);
- setWindowState (d, w->state, w->id);
+ if (w->managed)
+ setWindowState (d, w->state, w->id);
(*w->screen->windowStateChangeNotify) (w, oldState);
(*d->matchPropertyChanged) (d, w);