aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/input/map_to_output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/input/map_to_output.c')
-rw-r--r--sway/commands/input/map_to_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/input/map_to_output.c b/sway/commands/input/map_to_output.c
index 60e4608e..68439bec 100644
--- a/sway/commands/input/map_to_output.c
+++ b/sway/commands/input/map_to_output.c
@@ -20,7 +20,7 @@ struct cmd_results *input_cmd_map_to_output(int argc, char **argv) {
20 struct input_config *new_config = 20 struct input_config *new_config =
21 new_input_config(current_input_config->identifier); 21 new_input_config(current_input_config->identifier);
22 22
23 new_config->mapped_output = strdup(argv[0]); 23 new_config->mapped_to_output = strdup(argv[0]);
24 apply_input_config(new_config); 24 apply_input_config(new_config);
25 25
26 return cmd_results_new(CMD_SUCCESS, NULL, NULL); 26 return cmd_results_new(CMD_SUCCESS, NULL, NULL);