mirror of
https://github.com/swaywm/sway.git
synced 2026-04-26 06:46:26 -04:00
Merge pull request #2725 from PumbaPe/add-tap-and-drag
Add tap and drag to sway-input
This commit is contained in:
commit
8f6aca2166
8 changed files with 44 additions and 0 deletions
|
|
@ -120,6 +120,13 @@ static void input_manager_libinput_config_pointer(
|
|||
libinput_device_config_click_set_method(libinput_device,
|
||||
ic->click_method);
|
||||
}
|
||||
if (ic->drag != INT_MIN) {
|
||||
wlr_log(WLR_DEBUG,
|
||||
"libinput_config_pointer(%s) tap_set_drag_enabled(%d)",
|
||||
ic->identifier, ic->click_method);
|
||||
libinput_device_config_tap_set_drag_enabled(libinput_device,
|
||||
ic->drag);
|
||||
}
|
||||
if (ic->drag_lock != INT_MIN) {
|
||||
wlr_log(WLR_DEBUG,
|
||||
"libinput_config_pointer(%s) tap_set_drag_lock_enabled(%d)",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue