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(); } /*