diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-09-27 04:17:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 04:17:53 -0500 |
commit | 58af0015170204de6d186f0f25cd0b9315d062d7 (patch) | |
tree | a21e14ef9948d9ee73c1ed329240f9d3ad997f40 | |
parent | Merge pull request #2704 from ianyfan/tablet-config (diff) | |
parent | input config: merge left_handed option (diff) | |
download | sway-58af0015170204de6d186f0f25cd0b9315d062d7.tar.gz sway-58af0015170204de6d186f0f25cd0b9315d062d7.tar.zst sway-58af0015170204de6d186f0f25cd0b9315d062d7.zip |
Merge pull request #2717 from ianyfan/tablet-config
input config: merge left_handed option
-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) { | |||
52 | if (src->dwt != INT_MIN) { | 52 | if (src->dwt != INT_MIN) { |
53 | dst->dwt = src->dwt; | 53 | dst->dwt = src->dwt; |
54 | } | 54 | } |
55 | if (src->left_handed != INT_MIN) { | ||
56 | dst->left_handed = src->left_handed; | ||
57 | } | ||
55 | if (src->middle_emulation != INT_MIN) { | 58 | if (src->middle_emulation != INT_MIN) { |
56 | dst->middle_emulation = src->middle_emulation; | 59 | dst->middle_emulation = src->middle_emulation; |
57 | } | 60 | } |