diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-09-27 09:25:32 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-09-27 09:25:43 +0100 |
commit | a6c5628fa7d4d22c28397c9ff7cba1844e2db1a7 (patch) | |
tree | a21e14ef9948d9ee73c1ed329240f9d3ad997f40 /sway/config | |
parent | 5912be46c32fefbbcdb895a81c817ed1579887ed (diff) |
input config: merge left_handed option
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 fffc8518..6b43a5b9 100644 --- a/sway/config/input.c +++ b/sway/config/input.c @@ -52,6 +52,9 @@ void merge_input_config(struct input_config *dst, struct input_config *src) { if (src->dwt != INT_MIN) { dst->dwt = src->dwt; } + if (src->left_handed != INT_MIN) { + dst->left_handed = src->left_handed; + } if (src->middle_emulation != INT_MIN) { dst->middle_emulation = src->middle_emulation; } |