diff options
| author | emersion <[email protected]> | 2018-04-08 15:11:31 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-04-08 15:11:31 -0400 |
| commit | 4493761716a37a0ecba596b33cfb7a6dba2d84ba (patch) | |
| tree | 0174edd442d4cf11d44cd404bf8b9c0f8aa9768a /sway/config | |
| parent | 3679323ce558f15a319d3ace6dc1c2618b816566 (diff) | |
| parent | 0e3ddf255ef56b7fe2b868232b80d04ea961120b (diff) | |
Merge pull request #1781 from swaywm/map-to-output
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) { 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) { |
