aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-09-27 04:17:53 -0500
committerGitHub <noreply@github.com>2018-09-27 04:17:53 -0500
commit58af0015170204de6d186f0f25cd0b9315d062d7 (patch)
treea21e14ef9948d9ee73c1ed329240f9d3ad997f40
parent5912be46c32fefbbcdb895a81c817ed1579887ed (diff)
parenta6c5628fa7d4d22c28397c9ff7cba1844e2db1a7 (diff)
Merge pull request #2717 from ianyfan/tablet-config
input config: merge left_handed option
-rw-r--r--sway/config/input.c3
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;
}