diff options
Diffstat (limited to 'sway/commands/ipc.c')
-rw-r--r-- | sway/commands/ipc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sway/commands/ipc.c b/sway/commands/ipc.c index 113a975b..44d7a010 100644 --- a/sway/commands/ipc.c +++ b/sway/commands/ipc.c | |||
@@ -86,10 +86,10 @@ struct cmd_results *cmd_ipc_cmd(int argc, char **argv) { | |||
86 | } | 86 | } |
87 | 87 | ||
88 | if (enabled) { | 88 | if (enabled) { |
89 | config->ipc_policy |= type; | 89 | //config->ipc_policy |= type; |
90 | sway_log(L_DEBUG, "Enabled IPC %s feature", argv[-1]); | 90 | sway_log(L_DEBUG, "Enabled IPC %s feature %d", argv[-1], (int)type); |
91 | } else { | 91 | } else { |
92 | config->ipc_policy &= ~type; | 92 | //config->ipc_policy &= ~type; |
93 | sway_log(L_DEBUG, "Disabled IPC %s feature", argv[-1]); | 93 | sway_log(L_DEBUG, "Disabled IPC %s feature", argv[-1]); |
94 | } | 94 | } |
95 | 95 | ||
@@ -134,10 +134,10 @@ struct cmd_results *cmd_ipc_event_cmd(int argc, char **argv) { | |||
134 | } | 134 | } |
135 | 135 | ||
136 | if (enabled) { | 136 | if (enabled) { |
137 | config->ipc_policy |= type; | 137 | //config->ipc_policy |= type; |
138 | sway_log(L_DEBUG, "Enabled IPC %s event", argv[-1]); | 138 | sway_log(L_DEBUG, "Enabled IPC %s event %d", argv[-1], (int)type); |
139 | } else { | 139 | } else { |
140 | config->ipc_policy &= ~type; | 140 | //config->ipc_policy &= ~type; |
141 | sway_log(L_DEBUG, "Disabled IPC %s event", argv[-1]); | 141 | sway_log(L_DEBUG, "Disabled IPC %s event", argv[-1]); |
142 | } | 142 | } |
143 | 143 | ||