aboutsummaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorLibravatar taiyu <taiyu.len@gmail.com>2015-09-10 11:07:40 -0700
committerLibravatar taiyu <taiyu.len@gmail.com>2015-09-10 11:07:40 -0700
commitaaa0923bc4fe4ffda114482a9b8023c90c26c8dc (patch)
tree7c12a435bf56e4ebfcae689ce46280eeeb330346 /sway/handlers.c
parentmode supports multi token names (diff)
downloadsway-aaa0923bc4fe4ffda114482a9b8023c90c26c8dc.tar.gz
sway-aaa0923bc4fe4ffda114482a9b8023c90c26c8dc.tar.zst
sway-aaa0923bc4fe4ffda114482a9b8023c90c26c8dc.zip
cmd status + workspace ws output op
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c2
1 files changed, 1 insertions, 1 deletions
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
478static void handle_wlc_ready(void) { 478static void handle_wlc_ready(void) {
479 sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue"); 479 sway_log(L_DEBUG, "Compositor is ready, executing cmds in queue");
480 // Execute commands until there are none left 480 // Execute commands until there are none left
481 config->active = true;
481 while (config->cmd_queue->length) { 482 while (config->cmd_queue->length) {
482 handle_command(config->cmd_queue->items[0]); 483 handle_command(config->cmd_queue->items[0]);
483 free(config->cmd_queue->items[0]); 484 free(config->cmd_queue->items[0]);
484 list_del(config->cmd_queue, 0); 485 list_del(config->cmd_queue, 0);
485 } 486 }
486 config->active = true;
487} 487}
488 488
489struct wlc_interface interface = { 489struct wlc_interface interface = {