module: add new function module_signal_ready()

This commit is contained in:
Daniel Eklöf 2018-12-19 20:23:53 +01:00
parent a3eb7ebc08
commit 3413232ed6
9 changed files with 19 additions and 14 deletions

View file

@ -207,7 +207,7 @@ run(struct module_run_context *ctx)
update_title(m);
mod->bar->refresh(mod->bar);
write(ctx->ready_fd, &(uint64_t){1}, sizeof(uint64_t));
module_signal_ready(ctx);
int xcb_fd = xcb_get_file_descriptor(m->conn);
while (true) {