aboutsummaryrefslogtreecommitdiffstats
path: root/sway/ipc-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/ipc-server.c')
-rw-r--r--sway/ipc-server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index ebb5ce58..e575081b 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -312,7 +312,7 @@ void ipc_client_handle_command(struct ipc_client *client) {
312 switch (client->current_command) { 312 switch (client->current_command) {
313 case IPC_COMMAND: 313 case IPC_COMMAND:
314 { 314 {
315 struct cmd_results *results = handle_command(buf); 315 struct cmd_results *results = handle_command(buf, CONTEXT_IPC);
316 const char *json = cmd_results_to_json(results); 316 const char *json = cmd_results_to_json(results);
317 char reply[256]; 317 char reply[256];
318 int length = snprintf(reply, sizeof(reply), "%s", json); 318 int length = snprintf(reply, sizeof(reply), "%s", json);