aboutsummaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-06-01 21:38:45 -0500
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-12-05 22:22:49 -0600
commitb6d6127733ea5f96db57a9f47fa4a6134a868a19 (patch)
tree4937f6bc7a1e0f2e3989401a0bccdc5ee283919b /dwl.c
parent16a49e99557563252b9f91db767b431e2238f587 (diff)
add option for set button map
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 3891cb7..2a8162c 100644
--- a/dwl.c
+++ b/dwl.c
@@ -951,6 +951,7 @@ createpointer(struct wlr_pointer *pointer)
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_lock_enabled(libinput_device, drag_lock);
+ libinput_device_config_tap_set_button_map(libinput_device, button_map);
}
if (libinput_device_config_scroll_has_natural_scroll(libinput_device))