aboutsummaryrefslogtreecommitdiff
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/ipc-server.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/ipc-server.c b/sway/ipc-server.c
index 69009f25..28546d41 100644
--- a/sway/ipc-server.c
+++ b/sway/ipc-server.c
@@ -836,6 +836,14 @@ void ipc_client_handle_command(struct ipc_client *client) {
goto exit_cleanup;
}
+ case IPC_SYNC:
+ {
+ // It was decided sway will not support this, just return success:false
+ const char msg[] = "{\"success\": false}";
+ ipc_send_reply(client, msg, strlen(msg));
+ goto exit_cleanup;
+ }
+
default:
wlr_log(WLR_INFO, "Unknown IPC command type %i", client->current_command);
goto exit_cleanup;