summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Catherwood <jay.catherwood@gmail.com>2010-08-05 14:43:48 -0400
committerJay Catherwood <jay.catherwood@gmail.com>2010-08-05 14:43:48 -0400
commitf3dbbf421ed2548ac4a82be015ba1ee97925943e (patch)
treeb01210d3525ee92244ed6f12b1c9f7e91763734c
parent3a80bcdf40a521c8f3200c8d0b78aa324f8e37d2 (diff)
downloadworkarounds-f3dbbf421ed2548ac4a82be015ba1ee97925943e.tar.gz
workarounds-f3dbbf421ed2548ac4a82be015ba1ee97925943e.tar.bz2
Check for managed windows in Java Taskbar Fix
-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 ());
}
}
}