diff options
Diffstat (limited to 'sway/commands/ipc.c')
-rw-r--r-- | sway/commands/ipc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/commands/ipc.c b/sway/commands/ipc.c index 6b29706e..d49aab64 100644 --- a/sway/commands/ipc.c +++ b/sway/commands/ipc.c | |||
@@ -32,6 +32,7 @@ struct cmd_results *cmd_ipc(int argc, char **argv) { | |||
32 | } | 32 | } |
33 | 33 | ||
34 | current_policy = alloc_ipc_policy(program); | 34 | current_policy = alloc_ipc_policy(program); |
35 | list_add(config->ipc_policies, current_policy); | ||
35 | 36 | ||
36 | return cmd_results_new(CMD_BLOCK_IPC, NULL, NULL); | 37 | return cmd_results_new(CMD_BLOCK_IPC, NULL, NULL); |
37 | } | 38 | } |
@@ -74,6 +75,7 @@ struct cmd_results *cmd_ipc_cmd(int argc, char **argv) { | |||
74 | char *name; | 75 | char *name; |
75 | enum ipc_feature type; | 76 | enum ipc_feature type; |
76 | } types[] = { | 77 | } types[] = { |
78 | { "*", IPC_FEATURE_ALL_COMMANDS }, | ||
77 | { "command", IPC_FEATURE_COMMAND }, | 79 | { "command", IPC_FEATURE_COMMAND }, |
78 | { "workspaces", IPC_FEATURE_GET_WORKSPACES }, | 80 | { "workspaces", IPC_FEATURE_GET_WORKSPACES }, |
79 | { "outputs", IPC_FEATURE_GET_OUTPUTS }, | 81 | { "outputs", IPC_FEATURE_GET_OUTPUTS }, |
@@ -123,6 +125,7 @@ struct cmd_results *cmd_ipc_event_cmd(int argc, char **argv) { | |||
123 | char *name; | 125 | char *name; |
124 | enum ipc_feature type; | 126 | enum ipc_feature type; |
125 | } types[] = { | 127 | } types[] = { |
128 | { "*", IPC_FEATURE_ALL_EVENTS }, | ||
126 | { "workspace", IPC_FEATURE_EVENT_WORKSPACE }, | 129 | { "workspace", IPC_FEATURE_EVENT_WORKSPACE }, |
127 | { "output", IPC_FEATURE_EVENT_OUTPUT }, | 130 | { "output", IPC_FEATURE_EVENT_OUTPUT }, |
128 | { "mode", IPC_FEATURE_EVENT_MODE }, | 131 | { "mode", IPC_FEATURE_EVENT_MODE }, |