static void bar_init(struct bar *bar) { bar->config = init_config(); bar->status = init_status_line(); bar->output = malloc(sizeof(struct output)); bar->output->window = NULL; bar->output->registry = NULL; bar->output->workspaces = create_list(); bar->output->name = NULL; }
static void bar_init(struct bar *bar) { bar->config = init_config(); bar->status = init_status_line(); bar->outputs = create_list(); }