aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sway/ipc-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index d2dd881f..a16a2b80 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -335,6 +335,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
335 switch (client->current_command) { 335 switch (client->current_command) {
336 case IPC_COMMAND: 336 case IPC_COMMAND:
337 { 337 {
338 config_clear_handler_context(config);
338 struct cmd_results *results = handle_command(buf); 339 struct cmd_results *results = handle_command(buf);
339 const char *json = cmd_results_to_json(results); 340 const char *json = cmd_results_to_json(results);
340 char reply[256]; 341 char reply[256];