summaryrefslogtreecommitdiffstats
path: root/sway/commands/input/xkb_variant.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/xkb_variant.c')
-rw-r--r--sway/commands/input/xkb_variant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/input/xkb_variant.c b/sway/commands/input/xkb_variant.c
index 855e6abc..89a61fdc 100644
--- a/sway/commands/input/xkb_variant.c
+++ b/sway/commands/input/xkb_variant.c
@@ -5,7 +5,7 @@
5#include "log.h" 5#include "log.h"
6 6
7struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) { 7struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) {
8 sway_log(L_DEBUG, "xkb variant for device: %s", current_input_config->identifier); 8 wlr_log(L_DEBUG, "xkb variant 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_variant", EXPECTED_EQUAL_TO, 1))) { 10 if ((error = checkarg(argc, "xkb_variant", EXPECTED_EQUAL_TO, 1))) {
11 return error; 11 return error;
@@ -18,7 +18,7 @@ struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) {
18 18
19 new_config->xkb_variant = strdup(argv[0]); 19 new_config->xkb_variant = strdup(argv[0]);
20 20
21 sway_log(L_DEBUG, "apply-xkb_variant for device: %s variant: %s", 21 wlr_log(L_DEBUG, "apply-xkb_variant for device: %s variant: %s",
22 current_input_config->identifier, new_config->xkb_variant); 22 current_input_config->identifier, new_config->xkb_variant);
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);