From: Thierry Lorthiois Date: Fri, 5 Jun 2009 20:19:14 +0000 (+0000) Subject: small fix X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=b86d3d85f1633c92232f6483ea27664e8186b853;p=chaz%2Ftint2 small fix --- 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