summaryrefslogtreecommitdiff
path: root/sway/handlers.c
diff options
context:
space:
mode:
authorLuminarys <[email protected]>2015-08-13 13:22:20 -0500
committerLuminarys <[email protected]>2015-08-13 14:41:36 -0500
commit527288a826bb5602378adccbcd56a4fa8d5dd2bc (patch)
treedac4865cdeeb2315ead145c1be0e9aeeabf07080 /sway/handlers.c
parent9a0a858d1e29765cb48ec7a6f327fb137a871aa4 (diff)
fixes to cmd queue freeing, style
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 fd9c61a0..4411b947 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -169,7 +169,7 @@ static void handle_wlc_ready(void) {
for (i = 0; i < config->cmd_queue->length; ++i) {
handle_command(config, config->cmd_queue->items[i]);
}
- list_free(config->cmd_queue);
+ free_flat_list(config->cmd_queue);
}