diff options
author | Robert Kubosz <kubosz.robert@gmail.com> | 2018-07-12 12:08:53 +0200 |
---|---|---|
committer | Robert Kubosz <kubosz.robert@gmail.com> | 2018-07-12 12:08:53 +0200 |
commit | 08edaf4e76124a676e9457015e4451b05c355520 (patch) | |
tree | ac5fe767723853718154c0579aed6cca0a311c78 /sway/config | |
parent | 41b80c28dfafb9bc13b68e4d5d2811d311b59863 (diff) | |
download | sway-08edaf4e76124a676e9457015e4451b05c355520.tar.xz |
increase maximum value of button identifier
and also cleanup spaces
Diffstat (limited to 'sway/config')
-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) { input->natural_scroll = INT_MIN; input->accel_profile = INT_MIN; input->pointer_accel = FLT_MIN; - input->scroll_method = INT_MIN; input->scroll_button = INT_MIN; + input->scroll_method = INT_MIN; input->left_handed = INT_MIN; input->repeat_delay = INT_MIN; input->repeat_rate = INT_MIN; @@ -72,7 +72,7 @@ void merge_input_config(struct input_config *dst, struct input_config *src) { dst->scroll_method = src->scroll_method; } if (src->scroll_button != INT_MIN) { - dst->scroll_button= src->scroll_button; + dst->scroll_button = src->scroll_button; } if (src->send_events != INT_MIN) { dst->send_events = src->send_events; |