diff options
Diffstat (limited to 'sway/commands/bind.c')
-rw-r--r-- | sway/commands/bind.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/commands/bind.c b/sway/commands/bind.c index 79121404..cbabb07b 100644 --- a/sway/commands/bind.c +++ b/sway/commands/bind.c | |||
@@ -145,7 +145,7 @@ struct cmd_results *cmd_bindsym(int argc, char **argv) { | |||
145 | for (int i = 0; i < mode_bindings->length; ++i) { | 145 | for (int i = 0; i < mode_bindings->length; ++i) { |
146 | struct sway_binding *config_binding = mode_bindings->items[i]; | 146 | struct sway_binding *config_binding = mode_bindings->items[i]; |
147 | if (binding_key_compare(binding, config_binding)) { | 147 | if (binding_key_compare(binding, config_binding)) { |
148 | sway_log(L_DEBUG, "overwriting old binding with command '%s'", | 148 | wlr_log(L_DEBUG, "overwriting old binding with command '%s'", |
149 | config_binding->command); | 149 | config_binding->command); |
150 | free_sway_binding(config_binding); | 150 | free_sway_binding(config_binding); |
151 | mode_bindings->items[i] = binding; | 151 | mode_bindings->items[i] = binding; |
@@ -157,7 +157,7 @@ struct cmd_results *cmd_bindsym(int argc, char **argv) { | |||
157 | list_add(mode_bindings, binding); | 157 | list_add(mode_bindings, binding); |
158 | } | 158 | } |
159 | 159 | ||
160 | sway_log(L_DEBUG, "bindsym - Bound %s to command %s", | 160 | wlr_log(L_DEBUG, "bindsym - Bound %s to command %s", |
161 | argv[0], binding->command); | 161 | argv[0], binding->command); |
162 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 162 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |
163 | } | 163 | } |
@@ -227,7 +227,7 @@ struct cmd_results *cmd_bindcode(int argc, char **argv) { | |||
227 | for (int i = 0; i < mode_bindings->length; ++i) { | 227 | for (int i = 0; i < mode_bindings->length; ++i) { |
228 | struct sway_binding *config_binding = mode_bindings->items[i]; | 228 | struct sway_binding *config_binding = mode_bindings->items[i]; |
229 | if (binding_key_compare(binding, config_binding)) { | 229 | if (binding_key_compare(binding, config_binding)) { |
230 | sway_log(L_DEBUG, "overwriting old binding with command '%s'", | 230 | wlr_log(L_DEBUG, "overwriting old binding with command '%s'", |
231 | config_binding->command); | 231 | config_binding->command); |
232 | free_sway_binding(config_binding); | 232 | free_sway_binding(config_binding); |
233 | mode_bindings->items[i] = binding; | 233 | mode_bindings->items[i] = binding; |
@@ -239,7 +239,7 @@ struct cmd_results *cmd_bindcode(int argc, char **argv) { | |||
239 | list_add(mode_bindings, binding); | 239 | list_add(mode_bindings, binding); |
240 | } | 240 | } |
241 | 241 | ||
242 | sway_log(L_DEBUG, "bindcode - Bound %s to command %s", | 242 | wlr_log(L_DEBUG, "bindcode - Bound %s to command %s", |
243 | argv[0], binding->command); | 243 | argv[0], binding->command); |
244 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 244 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |
245 | } | 245 | } |