diff options
author | 2023-06-16 11:28:30 +0200 | |
---|---|---|
committer | 2023-06-16 15:30:04 +0200 | |
commit | c08762901e9840d8dca008dcc8d0b5602602fd0a (patch) | |
tree | aa275ee79e2e356ffcd6ebcaf54c417dd47494a5 /include | |
parent | gamma_control_v1: handle destroyed output (diff) | |
download | sway-c08762901e9840d8dca008dcc8d0b5602602fd0a.tar.gz sway-c08762901e9840d8dca008dcc8d0b5602602fd0a.tar.zst sway-c08762901e9840d8dca008dcc8d0b5602602fd0a.zip |
input/libinput: add scroll_button_lock method
Closes https://github.com/swaywm/sway/issues/6987
Co-authored-by: JJGadgets <git@jjgadgets.tech>
Co-authored-by: DeltaWhy <mike5713@gmail.com>
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 3212c2cf..27058587 100644 --- a/include/sway/commands.h +++ b/include/sway/commands.h | |||
@@ -266,6 +266,7 @@ sway_cmd input_cmd_scroll_factor; | |||
266 | sway_cmd input_cmd_repeat_delay; | 266 | sway_cmd input_cmd_repeat_delay; |
267 | sway_cmd input_cmd_repeat_rate; | 267 | sway_cmd input_cmd_repeat_rate; |
268 | sway_cmd input_cmd_scroll_button; | 268 | sway_cmd input_cmd_scroll_button; |
269 | sway_cmd input_cmd_scroll_button_lock; | ||
269 | sway_cmd input_cmd_scroll_method; | 270 | sway_cmd input_cmd_scroll_method; |
270 | sway_cmd input_cmd_tap; | 271 | sway_cmd input_cmd_tap; |
271 | sway_cmd input_cmd_tap_button_map; | 272 | sway_cmd input_cmd_tap_button_map; |
diff --git a/include/sway/config.h b/include/sway/config.h index aa58da53..f9da1967 100644 --- a/include/sway/config.h +++ b/include/sway/config.h | |||
@@ -161,6 +161,7 @@ struct input_config { | |||
161 | int repeat_delay; | 161 | int repeat_delay; |
162 | int repeat_rate; | 162 | int repeat_rate; |
163 | int scroll_button; | 163 | int scroll_button; |
164 | int scroll_button_lock; | ||
164 | int scroll_method; | 165 | int scroll_method; |
165 | int send_events; | 166 | int send_events; |
166 | int tap; | 167 | int tap; |