From: Michael Stapelberg Date: Thu, 10 Jul 2014 22:32:42 +0000 (+0200) Subject: Bugfix: render bars after the first chunk of JSON (Thanks javier) X-Git-Tag: 4.9~71^2^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=686a40e384a65bf267426dec76cdcf8819ea9a1a;p=i3%2Fi3 Bugfix: render bars after the first chunk of JSON (Thanks javier) fixes #1315 --- diff --git a/i3bar/src/child.c b/i3bar/src/child.c index 5867ce4a..8645a664 100644 --- a/i3bar/src/child.c +++ b/i3bar/src/child.c @@ -371,7 +371,7 @@ void stdin_io_first_line_cb(struct ev_loop *loop, ev_io *watcher, int revents) { if (config.hide_on_modifier) { stop_child(); } - read_json_input(buffer + consumed, rec - consumed); + draw_bars(read_json_input(buffer + consumed, rec - consumed)); } else { /* In case of plaintext, we just add a single block and change its * full_text pointer later. */