]> Dogcows Code - chaz/tint2/commitdiff
small fix
authorThierry Lorthiois <lorthiois@bbsoft.fr>
Fri, 5 Jun 2009 20:19:14 +0000 (20:19 +0000)
committerThierry Lorthiois <lorthiois@bbsoft.fr>
Fri, 5 Jun 2009 20:19:14 +0000 (20:19 +0000)
src/tint.c
src/tint2

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++) {
index 353402382e9ba270c2594d0653e19a2a118f8777..0c4e7488e812483ed7b6cbcfba605e4db026d83d 100755 (executable)
Binary files a/src/tint2 and b/src/tint2 differ
This page took 0.027849 seconds and 4 git commands to generate.