From 686a40e384a65bf267426dec76cdcf8819ea9a1a Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Fri, 11 Jul 2014 00:32:42 +0200 Subject: [PATCH] Bugfix: render bars after the first chunk of JSON (Thanks javier) fixes #1315 --- i3bar/src/child.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- 2.39.5