]> Dogcows Code - chaz/tint2/blobdiff - src/tint.c
small fix
[chaz/tint2] / src / tint.c
index ee6a8480b84eba192ec7ec629a74dcc2fdf2cf91..8353faf1b6d103ab4f210b4f5239864381d9df83 100644 (file)
@@ -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++) {
This page took 0.022891 seconds and 4 git commands to generate.