summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-25 15:01:38 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-05-25 15:01:38 -0500
commit7018b9b65c35ece131823069d887c0a6386c8e08 (patch)
tree344aac39b4cca3c8598b124f0b9369f9b4f445d5
parent48ec914f439c962ac14f75bfcb0c40282c6a0de3 (diff)
correct libinput function name for drag_lock
-rw-r--r--dwl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index a317ee9..7de82f9 100644
--- a/dwl.c
+++ b/dwl.c
@@ -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))