correct libinput function name for drag_lock

This commit is contained in:
Leonardo Hernández Hernández 2022-05-25 15:01:38 -05:00
parent 48ec914f43
commit 7018b9b65c
No known key found for this signature in database
GPG key ID: E538897EE11B9624

2
dwl.c
View file

@ -984,7 +984,7 @@ createpointer(struct wlr_input_device *device)
if (libinput_device_config_tap_get_finger_count(libinput_device)) { if (libinput_device_config_tap_get_finger_count(libinput_device)) {
libinput_device_config_tap_set_enabled(libinput_device, tap_to_click); libinput_device_config_tap_set_enabled(libinput_device, tap_to_click);
libinput_device_config_tap_set_drag_enabled(libinput_device, tap_and_drag); libinput_device_config_tap_set_drag_enabled(libinput_device, tap_and_drag);
libinput_device_config_tap_set_enabled(libinput_device, drag_lock); libinput_device_config_tap_set_drag_lock_enabled(libinput_device, drag_lock);
} }
if (libinput_device_config_scroll_has_natural_scroll(libinput_device)) if (libinput_device_config_scroll_has_natural_scroll(libinput_device))