mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-09 13:29:54 -05:00
opt: Distinguish natural scrolling Settings between the trackpad and the scroll wheel
This commit is contained in:
parent
027f05c1a2
commit
47c1a7e328
4 changed files with 24 additions and 11 deletions
9
maomao.c
9
maomao.c
|
|
@ -2801,11 +2801,12 @@ createpointer(struct wlr_pointer *pointer) {
|
|||
libinput_device_config_tap_set_drag_enabled(device, tap_and_drag);
|
||||
libinput_device_config_tap_set_drag_lock_enabled(device, drag_lock);
|
||||
libinput_device_config_tap_set_button_map(device, button_map);
|
||||
}
|
||||
|
||||
if (libinput_device_config_scroll_has_natural_scroll(device))
|
||||
libinput_device_config_scroll_set_natural_scroll_enabled(
|
||||
device, natural_scrolling);
|
||||
device, trackpad_natural_scrolling);
|
||||
} else {
|
||||
libinput_device_config_scroll_set_natural_scroll_enabled(
|
||||
device, mouse_natural_scrolling);
|
||||
}
|
||||
|
||||
if (libinput_device_config_dwt_is_available(device))
|
||||
libinput_device_config_dwt_set_enabled(device, disable_while_typing);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue