diff options
| author | Marco Siedentopf <siedentm@me.com> | |
|---|---|---|
| 2022-06-10 01:30:22 +0000 | ||
| committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | |
| 2022-06-10 12:27:40 -0500 | ||
| commit | 8bce3b1583977dee0c8a1815c558cae3b9346f67 (patch) | |
| tree | e686bb4bedf0853bbd25aa00c736135e6671478d /dwl.c | |
| parent | c008bf2a7d76fd4b91267be6a67bd090b839c3ce (diff) | |
| download | dwl-8bce3b1583977dee0c8a1815c558cae3b9346f67.tar.gz dwl-8bce3b1583977dee0c8a1815c558cae3b9346f67.tar.bz2 dwl-8bce3b1583977dee0c8a1815c558cae3b9346f67.zip | |
add click method configuration option
Add the libinput configuration option to choose between Software Button Areas and Clickfinger
@@ -1003,6 +1003,9 @@ createpointer(struct wlr_input_device *device) if (libinput_device_config_scroll_get_methods(libinput_device) != LIBINPUT_CONFIG_SCROLL_NO_SCROLL) libinput_device_config_scroll_set_method (libinput_device, scroll_method); + + if (libinput_device_config_click_get_methods(libinput_device) != LIBINPUT_CONFIG_CLICK_METHOD_NONE) + libinput_device_config_click_set_method (libinput_device, click_method); if (libinput_device_config_send_events_get_modes(libinput_device)) libinput_device_config_send_events_set_mode(libinput_device, send_events_mode); |