summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-12-02 18:38:31 -0500
committerLibravatar Drew DeVault <sir@cmpwn.com>2016-12-02 18:38:31 -0500
commitd2d6fcd1ffb496fbd3dfb448865351447474580d (patch)
tree16d3f9c690704ddd6012d289c025cfdd944adda5
parentCheck for CAP_SYS_PTRACE (diff)
downloadsway-d2d6fcd1ffb496fbd3dfb448865351447474580d.tar.gz
sway-d2d6fcd1ffb496fbd3dfb448865351447474580d.tar.zst
sway-d2d6fcd1ffb496fbd3dfb448865351447474580d.zip
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) {
60 60
61 struct { 61 struct {
62 char *name; 62 char *name;
63 enum ipc_command_type type; 63 enum ipc_feature type;
64 } types[] = { 64 } types[] = {
65 { "command", IPC_FEATURE_COMMAND }, 65 { "command", IPC_FEATURE_COMMAND },
66 { "workspaces", IPC_FEATURE_GET_WORKSPACES }, 66 { "workspaces", IPC_FEATURE_GET_WORKSPACES },
@@ -109,7 +109,7 @@ struct cmd_results *cmd_ipc_event_cmd(int argc, char **argv) {
109 109
110 struct { 110 struct {
111 char *name; 111 char *name;
112 enum ipc_command_type type; 112 enum ipc_feature type;
113 } types[] = { 113 } types[] = {
114 { "workspace", IPC_FEATURE_EVENT_WORKSPACE }, 114 { "workspace", IPC_FEATURE_EVENT_WORKSPACE },
115 { "output", IPC_FEATURE_EVENT_OUTPUT }, 115 { "output", IPC_FEATURE_EVENT_OUTPUT },