diff options
Diffstat (limited to 'sway/config')
-rw-r--r-- | sway/config/input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/config/input.c b/sway/config/input.c index 294ed08f..0993e9ab 100644 --- a/sway/config/input.c +++ b/sway/config/input.c @@ -134,6 +134,9 @@ void merge_input_config(struct input_config *dst, struct input_config *src) { memcpy(dst->mapped_from_region, src->mapped_from_region, sizeof(struct input_config_mapped_from_region)); } + if (src->mapped_to) { + dst->mapped_to = src->mapped_to; + } if (src->mapped_to_output) { free(dst->mapped_to_output); dst->mapped_to_output = strdup(src->mapped_to_output); |