From a6c5628fa7d4d22c28397c9ff7cba1844e2db1a7 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Thu, 27 Sep 2018 09:25:32 +0100 Subject: input config: merge left_handed option --- sway/config/input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sway/config') 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; } -- cgit v1.2.3