diff options
Diffstat (limited to 'sway/commands/input/xkb_layout.c')
-rw-r--r-- | sway/commands/input/xkb_layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/input/xkb_layout.c b/sway/commands/input/xkb_layout.c index a25d3850..25db1a33 100644 --- a/sway/commands/input/xkb_layout.c +++ b/sway/commands/input/xkb_layout.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include "log.h" | 5 | #include "log.h" |
6 | 6 | ||
7 | struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) { | 7 | struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) { |
8 | sway_log(L_DEBUG, "xkb layout for device: %s", current_input_config->identifier); | 8 | wlr_log(L_DEBUG, "xkb layout for device: %s", current_input_config->identifier); |
9 | struct cmd_results *error = NULL; | 9 | struct cmd_results *error = NULL; |
10 | if ((error = checkarg(argc, "xkb_layout", EXPECTED_EQUAL_TO, 1))) { | 10 | if ((error = checkarg(argc, "xkb_layout", EXPECTED_EQUAL_TO, 1))) { |
11 | return error; | 11 | return error; |
@@ -18,7 +18,7 @@ struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) { | |||
18 | 18 | ||
19 | new_config->xkb_layout = strdup(argv[0]); | 19 | new_config->xkb_layout = strdup(argv[0]); |
20 | 20 | ||
21 | sway_log(L_DEBUG, "apply-xkb_layout for device: %s layout: %s", | 21 | wlr_log(L_DEBUG, "apply-xkb_layout for device: %s layout: %s", |
22 | current_input_config->identifier, new_config->xkb_layout); | 22 | current_input_config->identifier, new_config->xkb_layout); |
23 | apply_input_config(new_config); | 23 | apply_input_config(new_config); |
24 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); | 24 | return cmd_results_new(CMD_SUCCESS, NULL, NULL); |