summaryrefslogtreecommitdiff
path: root/workarounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'workarounds.c')
-rw-r--r--workarounds.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/workarounds.c b/workarounds.c
index f987fa0..3fa308e 100644
--- a/workarounds.c
+++ b/workarounds.c
@@ -543,6 +543,7 @@ static void
workaroundsHandleEvent (CompDisplay *d,
XEvent *event)
{
+ CompScreen *s;
CompWindow *w;
WORKAROUNDS_DISPLAY (d);
@@ -622,6 +623,17 @@ workaroundsHandleEvent (CompDisplay *d,
updateUrgencyState (w);
}
}
+ else if (event->xproperty.atom == d->clientListAtom) {
+ if (workaroundsGetJavaTaskbarFix (d)) {
+ for (s = d->screens; s; s = s->next) {
+ for (w = s->windows; w; w = w->next) {
+ if (w->managed) {
+ setWindowState(d,w->state,w->id);
+ }
+ }
+ }
+ }
+ }
break;
default:
break;