diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-08 14:15:13 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-08 15:09:12 -0400 |
commit | 0e3ddf255ef56b7fe2b868232b80d04ea961120b (patch) | |
tree | cd650869ccbeca085a022d7aceb97d5e581ff3bf /sway/config | |
parent | Merge pull request #1778 from swaywm/fix-cursor (diff) | |
download | sway-0e3ddf255ef56b7fe2b868232b80d04ea961120b.tar.gz sway-0e3ddf255ef56b7fe2b868232b80d04ea961120b.tar.zst sway-0e3ddf255ef56b7fe2b868232b80d04ea961120b.zip |
Add input "identifier" map_to_output "identifier"
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/input.c | 4 |
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) { | |||
88 | free(dst->xkb_variant); | 88 | free(dst->xkb_variant); |
89 | dst->xkb_variant = strdup(src->xkb_variant); | 89 | dst->xkb_variant = strdup(src->xkb_variant); |
90 | } | 90 | } |
91 | if (src->mapped_output) { | ||
92 | free(dst->mapped_output); | ||
93 | dst->mapped_output = strdup(src->mapped_output); | ||
94 | } | ||
91 | } | 95 | } |
92 | 96 | ||
93 | struct input_config *copy_input_config(struct input_config *ic) { | 97 | struct input_config *copy_input_config(struct input_config *ic) { |