diff options
author | 2017-12-18 10:44:25 -0500 | |
---|---|---|
committer | 2017-12-18 10:44:25 -0500 | |
commit | 483ede0146cd5eb5b1a68dc365f99af0c66fd156 (patch) | |
tree | 3833b17ccf79e2f1081099fad2346204c82b3a0c /sway | |
parent | remove verbose commit logging (diff) | |
download | sway-483ede0146cd5eb5b1a68dc365f99af0c66fd156.tar.gz sway-483ede0146cd5eb5b1a68dc365f99af0c66fd156.tar.zst sway-483ede0146cd5eb5b1a68dc365f99af0c66fd156.zip |
improve xkb command logging
Diffstat (limited to 'sway')
-rw-r--r-- | sway/commands/input/xkb_layout.c | 4 | ||||
-rw-r--r-- | sway/commands/input/xkb_model.c | 4 | ||||
-rw-r--r-- | sway/commands/input/xkb_options.c | 4 | ||||
-rw-r--r-- | sway/commands/input/xkb_rules.c | 4 | ||||
-rw-r--r-- | sway/commands/input/xkb_variant.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/sway/commands/input/xkb_layout.c b/sway/commands/input/xkb_layout.c index 4fc33e0b..a25d3850 100644 --- a/sway/commands/input/xkb_layout.c +++ b/sway/commands/input/xkb_layout.c | |||
@@ -18,8 +18,8 @@ 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", | 21 | sway_log(L_DEBUG, "apply-xkb_layout for device: %s layout: %s", |
22 | current_input_config->identifier); | 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); |
25 | } | 25 | } |
diff --git a/sway/commands/input/xkb_model.c b/sway/commands/input/xkb_model.c index 338bd7de..9729e869 100644 --- a/sway/commands/input/xkb_model.c +++ b/sway/commands/input/xkb_model.c | |||
@@ -18,8 +18,8 @@ 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", | 21 | sway_log(L_DEBUG, "apply-xkb_model for device: %s model: %s", |
22 | current_input_config->identifier); | 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); |
25 | } | 25 | } |
diff --git a/sway/commands/input/xkb_options.c b/sway/commands/input/xkb_options.c index b24c33c1..504849cc 100644 --- a/sway/commands/input/xkb_options.c +++ b/sway/commands/input/xkb_options.c | |||
@@ -18,8 +18,8 @@ struct cmd_results *input_cmd_xkb_options(int argc, char **argv) { | |||
18 | 18 | ||
19 | new_config->xkb_options = strdup(argv[0]); | 19 | new_config->xkb_options = strdup(argv[0]); |
20 | 20 | ||
21 | sway_log(L_DEBUG, "apply-xkb_options for device: %s", | 21 | sway_log(L_DEBUG, "apply-xkb_options for device: %s options: %s", |
22 | current_input_config->identifier); | 22 | current_input_config->identifier, new_config->xkb_options); |
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); |
25 | } | 25 | } |
diff --git a/sway/commands/input/xkb_rules.c b/sway/commands/input/xkb_rules.c index def614e9..db7d8abe 100644 --- a/sway/commands/input/xkb_rules.c +++ b/sway/commands/input/xkb_rules.c | |||
@@ -18,8 +18,8 @@ struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) { | |||
18 | 18 | ||
19 | new_config->xkb_rules = strdup(argv[0]); | 19 | new_config->xkb_rules = strdup(argv[0]); |
20 | 20 | ||
21 | sway_log(L_DEBUG, "apply-xkb_rules for device: %s", | 21 | sway_log(L_DEBUG, "apply-xkb_rules for device: %s rules: %s", |
22 | current_input_config->identifier); | 22 | current_input_config->identifier, new_config->xkb_rules); |
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); |
25 | } | 25 | } |
diff --git a/sway/commands/input/xkb_variant.c b/sway/commands/input/xkb_variant.c index cc135cce..855e6abc 100644 --- a/sway/commands/input/xkb_variant.c +++ b/sway/commands/input/xkb_variant.c | |||
@@ -18,8 +18,8 @@ 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", | 21 | sway_log(L_DEBUG, "apply-xkb_variant for device: %s variant: %s", |
22 | current_input_config->identifier); | 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); |
25 | } | 25 | } |