aboutsummaryrefslogtreecommitdiff
path: root/sway/config/input.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-08 14:15:13 -0400
committerDrew DeVault <sir@cmpwn.com>2018-04-08 15:09:12 -0400
commit0e3ddf255ef56b7fe2b868232b80d04ea961120b (patch)
treecd650869ccbeca085a022d7aceb97d5e581ff3bf /sway/config/input.c
parent26e5974496e80b9fb07af19fcfb1777b90294a91 (diff)
Add input "identifier" map_to_output "identifier"
Diffstat (limited to 'sway/config/input.c')
-rw-r--r--sway/config/input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sway/config/input.c b/sway/config/input.c
index c4f6211d..5e657c43 100644
--- a/sway/config/input.c
+++ b/sway/config/input.c
@@ -88,6 +88,10 @@ void merge_input_config(struct input_config *dst, struct input_config *src) {
free(dst->xkb_variant);
dst->xkb_variant = strdup(src->xkb_variant);
}
+ if (src->mapped_output) {
+ free(dst->mapped_output);
+ dst->mapped_output = strdup(src->mapped_output);
+ }
}
struct input_config *copy_input_config(struct input_config *ic) {