diff --git a/src/tint.c b/src/tint.c index ee6a848..8353faf 100644 --- a/src/tint.c +++ b/src/tint.c @@ -302,15 +302,15 @@ void event_property_notify (XEvent *e) } Window w1 = window_get_active (); Task *t = task_get_task(w1); - if (task_urgent == t) { - init_precision(); - task_urgent = 0; - } if (!t) { Window w2; if (XGetTransientForHint(server.dsp, w1, &w2) != 0) if (w2) t = task_get_task(w2); } + if (task_urgent == t) { + init_precision(); + task_urgent = 0; + } if (t) { for (i=0 ; i < nb_panel ; i++) { for (j=0 ; j < panel1[i].nb_desktop ; j++) { diff --git a/src/tint2 b/src/tint2 index 3534023..0c4e748 100755 Binary files a/src/tint2 and b/src/tint2 differ