aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/input/map_to_output.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-24 19:39:29 +0100
committeremersion <contact@emersion.fr>2018-04-26 10:53:47 +0100
commitff61df17ffd358b03663a35fe7140e51e1ee98fc (patch)
tree3736887591d8464f577d2ad4a753a404d38d77ae /sway/commands/input/map_to_output.c
parentd94bb78ff3ade39cc848d0acfd571b9ac6917868 (diff)
Add map_from_region command
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) {
struct input_config *new_config =
new_input_config(current_input_config->identifier);
- new_config->mapped_output = strdup(argv[0]);
+ new_config->mapped_to_output = strdup(argv[0]);
apply_input_config(new_config);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);