mirror of
https://github.com/swaywm/sway.git
synced 2026-02-27 01:40:43 -05:00
Update for swaywm/wlroots#1126
This commit is contained in:
parent
ebcdce457a
commit
63b4bf5000
85 changed files with 391 additions and 385 deletions
|
|
@ -16,7 +16,7 @@ struct cmd_results *input_cmd_events(int argc, char **argv) {
|
|||
return cmd_results_new(CMD_FAILURE, "events",
|
||||
"No input device defined.");
|
||||
}
|
||||
wlr_log(L_DEBUG, "events for device: %s",
|
||||
wlr_log(WLR_DEBUG, "events for device: %s",
|
||||
current_input_config->identifier);
|
||||
struct input_config *new_config =
|
||||
new_input_config(current_input_config->identifier);
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ struct cmd_results *input_cmd_tap(int argc, char **argv) {
|
|||
"Expected 'tap <enabled|disabled>'");
|
||||
}
|
||||
|
||||
wlr_log(L_DEBUG, "apply-tap for device: %s",
|
||||
wlr_log(WLR_DEBUG, "apply-tap for device: %s",
|
||||
current_input_config->identifier);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ struct cmd_results *input_cmd_xkb_layout(int argc, char **argv) {
|
|||
|
||||
new_config->xkb_layout = strdup(argv[0]);
|
||||
|
||||
wlr_log(L_DEBUG, "apply-xkb_layout for device: %s layout: %s",
|
||||
wlr_log(WLR_DEBUG, "apply-xkb_layout for device: %s layout: %s",
|
||||
current_input_config->identifier, new_config->xkb_layout);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ struct cmd_results *input_cmd_xkb_model(int argc, char **argv) {
|
|||
|
||||
new_config->xkb_model = strdup(argv[0]);
|
||||
|
||||
wlr_log(L_DEBUG, "apply-xkb_model for device: %s model: %s",
|
||||
wlr_log(WLR_DEBUG, "apply-xkb_model for device: %s model: %s",
|
||||
current_input_config->identifier, new_config->xkb_model);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ struct cmd_results *input_cmd_xkb_options(int argc, char **argv) {
|
|||
|
||||
new_config->xkb_options = strdup(argv[0]);
|
||||
|
||||
wlr_log(L_DEBUG, "apply-xkb_options for device: %s options: %s",
|
||||
wlr_log(WLR_DEBUG, "apply-xkb_options for device: %s options: %s",
|
||||
current_input_config->identifier, new_config->xkb_options);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ struct cmd_results *input_cmd_xkb_rules(int argc, char **argv) {
|
|||
|
||||
new_config->xkb_rules = strdup(argv[0]);
|
||||
|
||||
wlr_log(L_DEBUG, "apply-xkb_rules for device: %s rules: %s",
|
||||
wlr_log(WLR_DEBUG, "apply-xkb_rules for device: %s rules: %s",
|
||||
current_input_config->identifier, new_config->xkb_rules);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ struct cmd_results *input_cmd_xkb_variant(int argc, char **argv) {
|
|||
|
||||
new_config->xkb_variant = strdup(argv[0]);
|
||||
|
||||
wlr_log(L_DEBUG, "apply-xkb_variant for device: %s variant: %s",
|
||||
wlr_log(WLR_DEBUG, "apply-xkb_variant for device: %s variant: %s",
|
||||
current_input_config->identifier, new_config->xkb_variant);
|
||||
apply_input_config(new_config);
|
||||
return cmd_results_new(CMD_SUCCESS, NULL, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue