i3bar: Allow to force unhide with draw_bars

This commit is contained in:
Quentin Glidic
2012-08-21 13:51:40 +02:00
committed by Michael Stapelberg
parent 8210c6be79
commit 830829922b
4 changed files with 10 additions and 11 deletions

View File

@ -172,7 +172,7 @@ static unsigned char *get_buffer(ev_io *watcher, int *ret_buffer_len) {
/* end of file, kill the watcher */
ELOG("stdin: received EOF\n");
cleanup();
draw_bars();
draw_bars(false);
*ret_buffer_len = -1;
return NULL;
}
@ -231,7 +231,7 @@ void stdin_io_cb(struct ev_loop *loop, ev_io *watcher, int revents) {
read_flat_input((char*)buffer, rec);
}
free(buffer);
draw_bars();
draw_bars(false);
}
/*