diff options
author | Dominique Martinet <asmadeus@codewreck.org> | 2018-01-05 22:32:51 +0100 |
---|---|---|
committer | Dominique Martinet <asmadeus@codewreck.org> | 2018-01-05 23:39:46 +0100 |
commit | 67985e903188a464e602d04f9ed218bd397f5ab1 (patch) | |
tree | 3589175749c9a2ed746b0cc280ab3ccfb33125e9 /sway/commands/input/xkb_model.c | |
parent | Merge pull request #1554 from martinetd/cmd_set (diff) | |
download | sway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.gz sway-67985e903188a464e602d04f9ed218bd397f5ab1.tar.zst sway-67985e903188a464e602d04f9ed218bd397f5ab1.zip |
sway: change all sway_log to wlr_log
Diffstat (limited to 'sway/commands/input/xkb_model.c')
-rw-r--r-- | sway/commands/input/xkb_model.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/input/xkb_model.c b/sway/commands/input/xkb_model.c index 9729e869..819b796b 100644 --- a/sway/commands/input/xkb_model.c +++ b/sway/commands/input/xkb_model.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include "log.h" | 5 | #include "log.h" |
6 | 6 | ||
7 | struct cmd_results *input_cmd_xkb_model(int argc, char **argv) { | 7 | struct cmd_results *input_cmd_xkb_model(int argc, char **argv) { |
8 | sway_log(L_DEBUG, "xkb model for device: %s", current_input_config->identifier); | 8 | wlr_log(L_DEBUG, "xkb model 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_model", EXPECTED_EQUAL_TO, 1))) { | 10 | if ((error = checkarg(argc, "xkb_model", EXPECTED_EQUAL_TO, 1))) { |
11 | return error; | 11 | return error; |
@@ -18,7 +18,7 @@ struct cmd_results *input_cmd_xkb_model(int argc, char **argv) { | |||
18 | 18 | ||
19 | new_config->xkb_model = strdup(argv[0]); | 19 | new_config->xkb_model = strdup(argv[0]); |
20 | 20 | ||
21 | sway_log(L_DEBUG, "apply-xkb_model for device: %s model: %s", | 21 | wlr_log(L_DEBUG, "apply-xkb_model for device: %s model: %s", |
22 | current_input_config->identifier, new_config->xkb_model); | 22 | current_input_config->identifier, new_config->xkb_model); |
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); |