i3bar: don’t immediately redraw bars after kicking tray clients

This commit is contained in:
Michael Stapelberg 2012-04-24 12:04:07 +02:00
parent abd6f24bf2
commit 3a378f7cb1
2 changed files with 2 additions and 3 deletions

View File

@ -70,6 +70,8 @@ void got_output_reply(char *reply) {
SLIST_FOREACH(o_walk, outputs, slist) { SLIST_FOREACH(o_walk, outputs, slist) {
kick_tray_clients(o_walk); kick_tray_clients(o_walk);
} }
draw_bars();
} }
/* /*

View File

@ -1124,9 +1124,6 @@ void kick_tray_clients(i3_output *output) {
* event afterwards, but better safe than sorry. */ * event afterwards, but better safe than sorry. */
TAILQ_REMOVE(output->trayclients, trayclient, tailq); TAILQ_REMOVE(output->trayclients, trayclient, tailq);
} }
/* Trigger an update, we now have more space for the statusline */
draw_bars();
} }
/* /*