summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2016-12-02 18:38:31 -0500
committerFurkan Sahin <furkan-dev@proton.me>2016-12-02 18:38:31 -0500
commitb221dc4e0112be75df92d392daf4106f960911dd (patch)
tree16d3f9c690704ddd6012d289c025cfdd944adda5
parent0c3e5fb12020094405382603563dd6fae59e26c7 (diff)
Fix clang issues
-rw-r--r--sway/commands/ipc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/ipc.c b/sway/commands/ipc.c
index f96e9980..222be0dd 100644
--- a/sway/commands/ipc.c
+++ b/sway/commands/ipc.c
@@ -60,7 +60,7 @@ struct cmd_results *cmd_ipc_cmd(int argc, char **argv) {
struct {
char *name;
- enum ipc_command_type type;
+ enum ipc_feature type;
} types[] = {
{ "command", IPC_FEATURE_COMMAND },
{ "workspaces", IPC_FEATURE_GET_WORKSPACES },
@@ -109,7 +109,7 @@ struct cmd_results *cmd_ipc_event_cmd(int argc, char **argv) {
struct {
char *name;
- enum ipc_command_type type;
+ enum ipc_feature type;
} types[] = {
{ "workspace", IPC_FEATURE_EVENT_WORKSPACE },
{ "output", IPC_FEATURE_EVENT_OUTPUT },