]> git.sur5r.net Git - i3/i3/commitdiff
i3bar: don’t immediately redraw bars after kicking tray clients
authorMichael Stapelberg <michael@stapelberg.de>
Tue, 24 Apr 2012 10:04:07 +0000 (12:04 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 24 Apr 2012 10:04:35 +0000 (12:04 +0200)
i3bar/src/ipc.c
i3bar/src/xcb.c

index 2ebc4c64ee9c61ff970f5fcdc7cb3cb300655d7f..41b8e151e88aad1fb1377e465136e7237b7b07b0 100644 (file)
@@ -70,6 +70,8 @@ void got_output_reply(char *reply) {
     SLIST_FOREACH(o_walk, outputs, slist) {
         kick_tray_clients(o_walk);
     }
+
+    draw_bars();
 }
 
 /*
index c2cf68794fad995fa0ee94ac8f32f9cb22ec3a29..87926d33bbf400f2d3432a06684827a6e5a4b159 100644 (file)
@@ -1124,9 +1124,6 @@ void kick_tray_clients(i3_output *output) {
          * event afterwards, but better safe than sorry. */
         TAILQ_REMOVE(output->trayclients, trayclient, tailq);
     }
-
-    /* Trigger an update, we now have more space for the statusline */
-    draw_bars();
 }
 
 /*