diff options
author | Drew DeVault <sir@cmpwn.com> | 2015-09-07 18:14:37 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2015-09-07 18:14:37 -0400 |
commit | 7654f5e7cdbf5edff2f576a59cf04c530dd6efb5 (patch) | |
tree | 8496fd8673d31bac1802d756885a8fc64245a552 /sway/ipc.c | |
parent | afe9cf0be0f12662f10ebb888a2a41aa613a9422 (diff) | |
parent | 3eb29ea7364724af99e4f4a5f7a6f633e17baf8d (diff) |
Merge pull request #173 from taiyu-len/config_mode
config modes
Diffstat (limited to 'sway/ipc.c')
-rw-r--r-- | sway/ipc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -198,7 +198,7 @@ void ipc_client_handle_command(struct ipc_client *client) { case IPC_COMMAND: { buf[client->payload_length] = '\0'; - bool success = handle_command(config, buf); + bool success = handle_command(buf); char reply[64]; int length = snprintf(reply, sizeof(reply), "{\"success\":%s}", success ? "true" : "false"); ipc_send_reply(client, reply, (uint32_t) length); |