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/sway | |
parent | 588abbb128c17430b8af1a26b4a3f01bbd5852e5 (diff) | |
download | sway-41b80c28dfafb9bc13b68e4d5d2811d311b59863.tar.xz |
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/sway')
-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; sway_cmd input_cmd_pointer_accel; sway_cmd input_cmd_repeat_delay; sway_cmd input_cmd_repeat_rate; +sway_cmd input_cmd_scroll_button; sway_cmd input_cmd_scroll_method; sway_cmd input_cmd_tap; 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 { float pointer_accel; int repeat_delay; int repeat_rate; + int scroll_button; int scroll_method; int send_events; int tap; |