From: Michael Stapelberg Date: Tue, 24 Apr 2012 10:04:07 +0000 (+0200) Subject: i3bar: don’t immediately redraw bars after kicking tray clients X-Git-Tag: 4.2~5 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a378f7cb11f6adc42c2633d005b40a8376fff39;p=i3%2Fi3 i3bar: don’t immediately redraw bars after kicking tray clients --- diff --git a/i3bar/src/ipc.c b/i3bar/src/ipc.c index 2ebc4c64..41b8e151 100644 --- a/i3bar/src/ipc.c +++ b/i3bar/src/ipc.c @@ -70,6 +70,8 @@ void got_output_reply(char *reply) { SLIST_FOREACH(o_walk, outputs, slist) { kick_tray_clients(o_walk); } + + draw_bars(); } /* diff --git a/i3bar/src/xcb.c b/i3bar/src/xcb.c index c2cf6879..87926d33 100644 --- a/i3bar/src/xcb.c +++ b/i3bar/src/xcb.c @@ -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(); } /*