diff options
author | Robert Kubosz <[email protected]> | 2018-07-11 22:03:06 +0200 |
---|---|---|
committer | Robert Kubosz <[email protected]> | 2018-07-11 22:03:06 +0200 |
commit | 41b80c28dfafb9bc13b68e4d5d2811d311b59863 (patch) | |
tree | bbc7fe4664da4e25e9d66b87a216e64024856b31 /sway/commands/input.c | |
parent | 588abbb128c17430b8af1a26b4a3f01bbd5852e5 (diff) |
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 'sway/commands/input.c')
-rw-r--r-- | sway/commands/input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/input.c b/sway/commands/input.c index 574e1f8c..e7906b0e 100644 --- a/sway/commands/input.c +++ b/sway/commands/input.c @@ -20,6 +20,7 @@ static struct cmd_handler input_handlers[] = { { "pointer_accel", input_cmd_pointer_accel }, { "repeat_delay", input_cmd_repeat_delay }, { "repeat_rate", input_cmd_repeat_rate }, + { "scroll_button", input_cmd_scroll_button }, { "scroll_method", input_cmd_scroll_method }, { "tap", input_cmd_tap }, { "xkb_layout", input_cmd_xkb_layout }, |