diff options
author | Robert Kubosz <kubosz.robert@gmail.com> | 2018-07-11 22:03:06 +0200 |
---|---|---|
committer | Robert Kubosz <kubosz.robert@gmail.com> | 2018-07-11 22:03:06 +0200 |
commit | 41b80c28dfafb9bc13b68e4d5d2811d311b59863 (patch) | |
tree | bbc7fe4664da4e25e9d66b87a216e64024856b31 /include | |
parent | Merge pull request #2245 from RyanDwyer/floating-minmax-size (diff) | |
download | sway-41b80c28dfafb9bc13b68e4d5d2811d311b59863.tar.gz sway-41b80c28dfafb9bc13b68e4d5d2811d311b59863.tar.zst sway-41b80c28dfafb9bc13b68e4d5d2811d311b59863.zip |
add scroll button option
This commit introduces a scroll_button option, which is intended to be
used with scroll_method. Now user can edit his sway config and add an
scroll_button option to device section.
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/config.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h index dda0606a..32d6cefd 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -207,6 +207,7 @@ sway_cmd input_cmd_natural_scroll; | |||
207 | sway_cmd input_cmd_pointer_accel; | 207 | sway_cmd input_cmd_pointer_accel; |
208 | sway_cmd input_cmd_repeat_delay; | 208 | sway_cmd input_cmd_repeat_delay; |
209 | sway_cmd input_cmd_repeat_rate; | 209 | sway_cmd input_cmd_repeat_rate; |
210 | sway_cmd input_cmd_scroll_button; | ||
210 | sway_cmd input_cmd_scroll_method; | 211 | sway_cmd input_cmd_scroll_method; |
211 | sway_cmd input_cmd_tap; | 212 | sway_cmd input_cmd_tap; |
212 | sway_cmd input_cmd_xkb_layout; | 213 | sway_cmd input_cmd_xkb_layout; |
diff --git a/include/sway/config.h b/include/sway/config.h index 99575274..75acd4f2 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -75,6 +75,7 @@ struct input_config { | |||
75 | float pointer_accel; | 75 | float pointer_accel; |
76 | int repeat_delay; | 76 | int repeat_delay; |
77 | int repeat_rate; | 77 | int repeat_rate; |
78 | int scroll_button; | ||
78 | int scroll_method; | 79 | int scroll_method; |
79 | int send_events; | 80 | int send_events; |
80 | int tap; | 81 | int tap; |