diff options
Diffstat (limited to 'sway/config/input.c')
-rw-r--r-- | sway/config/input.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/config/input.c b/sway/config/input.c index 62d77cf7..cbd7d5f0 100644 --- a/sway/config/input.c +++ b/sway/config/input.c | |||
@@ -27,8 +27,8 @@ struct input_config *new_input_config(const char* identifier) { | |||
27 | input->natural_scroll = INT_MIN; | 27 | input->natural_scroll = INT_MIN; |
28 | input->accel_profile = INT_MIN; | 28 | input->accel_profile = INT_MIN; |
29 | input->pointer_accel = FLT_MIN; | 29 | input->pointer_accel = FLT_MIN; |
30 | input->scroll_method = INT_MIN; | ||
31 | input->scroll_button = INT_MIN; | 30 | input->scroll_button = INT_MIN; |
31 | input->scroll_method = INT_MIN; | ||
32 | input->left_handed = INT_MIN; | 32 | input->left_handed = INT_MIN; |
33 | input->repeat_delay = INT_MIN; | 33 | input->repeat_delay = INT_MIN; |
34 | input->repeat_rate = INT_MIN; | 34 | input->repeat_rate = INT_MIN; |
@@ -72,7 +72,7 @@ void merge_input_config(struct input_config *dst, struct input_config *src) { | |||
72 | dst->scroll_method = src->scroll_method; | 72 | dst->scroll_method = src->scroll_method; |
73 | } | 73 | } |
74 | if (src->scroll_button != INT_MIN) { | 74 | if (src->scroll_button != INT_MIN) { |
75 | dst->scroll_button= src->scroll_button; | 75 | dst->scroll_button = src->scroll_button; |
76 | } | 76 | } |
77 | if (src->send_events != INT_MIN) { | 77 | if (src->send_events != INT_MIN) { |
78 | dst->send_events = src->send_events; | 78 | dst->send_events = src->send_events; |