From aaa0923bc4fe4ffda114482a9b8023c90c26c8dc Mon Sep 17 00:00:00 2001 From: taiyu Date: Thu, 10 Sep 2015 11:07:40 -0700 Subject: cmd status + workspace ws output op --- sway/handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/handlers.c') diff --git a/sway/handlers.c b/sway/handlers.c index c0472817..096df53c 100644 --- a/sway/handlers.c +++ b/sway/handlers.c @@ -478,12 +478,12 @@ static bool handle_pointer_button(wlc_handle view, uint32_t time, const struct w static void handle_wlc_ready(void) { sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); // Execute commands until there are none left + config->active = true; while (config->cmd_queue->length) { handle_command(config->cmd_queue->items[0]); free(config->cmd_queue->items[0]); list_del(config->cmd_queue, 0); } - config->active = true; } struct wlc_interface interface = { -- cgit v1.2.3