summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Catherwood <jay.catherwood@gmail.com>2010-08-05 14:43:48 -0400
committerSam Spilsbury <smspillaz@gmail.com>2010-08-08 11:14:11 +0800
commite07ee731c1b91f1d705347a895fee8288cb72cc4 (patch)
treeb01210d3525ee92244ed6f12b1c9f7e91763734c
parent1a55007dad2dfd1c1fbe5d5e2f03e0ff93c08e5a (diff)
downloadworkarounds-e07ee731c1b91f1d705347a895fee8288cb72cc4.tar.gz
workarounds-e07ee731c1b91f1d705347a895fee8288cb72cc4.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 ());
}
}
}