summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/workarounds.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/workarounds.cpp b/src/workarounds.cpp
index 3f3e430..65a9215 100644
--- a/src/workarounds.cpp
+++ b/src/workarounds.cpp
@@ -654,7 +654,8 @@ WorkaroundsScreen::handleEvent (XEvent *event)
else if (event->xproperty.atom == Atoms::clientList) {
if (optionGetJavaTaskbarFix ()) {
foreach (CompWindow *w, screen->windows ()) {
- setWindowState (w->state (), w->id ());
+ if (w->managed ())
+ setWindowState (w->state (), w->id ());
}
}
}