diff options
author | Danny Baumann <dannybaumann@web.de> | 2008-10-02 09:20:05 +0200 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2008-10-02 09:20:05 +0200 |
commit | 649689f535a9ccb6f5d8bad34179ee84a85b2463 (patch) | |
tree | 23410dbb9851f9969058d5a7d3c2f28390f393e3 /src | |
parent | d6da4ba75c0a86b4ec32cfa17287b46b633ebe56 (diff) |
Change state property only on managed windows.
Diffstat (limited to 'src')
-rw-r--r-- | src/window.c | 3 |
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); |