diff options
author | Spencer Michaels <spencer@smichaels.net> | 2018-11-17 14:31:33 -0500 |
---|---|---|
committer | Spencer Michaels <spencer@smichaels.net> | 2018-11-18 13:49:30 -0500 |
commit | 70bc4c3ab6c408850543d827f788ef310fdb269c (patch) | |
tree | 265d4ea923f1329d1e7661c0f92a242337318d58 /include/sway | |
parent | Merge pull request #3147 from emersion/set10 (diff) | |
download | sway-70bc4c3ab6c408850543d827f788ef310fdb269c.tar.gz sway-70bc4c3ab6c408850543d827f788ef310fdb269c.tar.zst sway-70bc4c3ab6c408850543d827f788ef310fdb269c.zip |
Add scroll factor config option.
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 6606775a..2fe8a631 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -229,6 +229,7 @@ sway_cmd input_cmd_map_to_output; | |||
229 | sway_cmd input_cmd_middle_emulation; | 229 | sway_cmd input_cmd_middle_emulation; |
230 | sway_cmd input_cmd_natural_scroll; | 230 | sway_cmd input_cmd_natural_scroll; |
231 | sway_cmd input_cmd_pointer_accel; | 231 | sway_cmd input_cmd_pointer_accel; |
232 | sway_cmd input_cmd_scroll_factor; | ||
232 | sway_cmd input_cmd_repeat_delay; | 233 | sway_cmd input_cmd_repeat_delay; |
233 | sway_cmd input_cmd_repeat_rate; | 234 | sway_cmd input_cmd_repeat_rate; |
234 | sway_cmd input_cmd_scroll_button; | 235 | sway_cmd input_cmd_scroll_button; |
diff --git a/include/sway/config.h b/include/sway/config.h index 79c4359b..658b4a01 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -100,6 +100,7 @@ struct input_config { | |||
100 | int middle_emulation; | 100 | int middle_emulation; |
101 | int natural_scroll; | 101 | int natural_scroll; |
102 | float pointer_accel; | 102 | float pointer_accel; |
103 | float scroll_factor; | ||
103 | int repeat_delay; | 104 | int repeat_delay; |
104 | int repeat_rate; | 105 | int repeat_rate; |
105 | int scroll_button; | 106 | int scroll_button; |