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
1 changed files with 1 additions and 1 deletions

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)) {
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_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))