diff options
author | PP <34623266+PumbaPe@users.noreply.github.com> | 2018-09-29 11:49:41 +0200 |
---|---|---|
committer | PP <34623266+PumbaPe@users.noreply.github.com> | 2018-09-29 11:49:41 +0200 |
commit | ae2b70f59ec988ae1ad108316ec04d1f634ec735 (patch) | |
tree | dcd6007eede8002b9b2306311a6ec4cc19b2bdd6 /sway/input/input-manager.c | |
parent | ca7084cb52bd5a27a847e43320490b7a5ee5ef73 (diff) |
add tap-and-drag setting to sway-input
Diffstat (limited to 'sway/input/input-manager.c')
-rw-r--r-- | sway/input/input-manager.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/input/input-manager.c b/sway/input/input-manager.c index f39fe29c..32f0355e 100644 --- a/sway/input/input-manager.c +++ b/sway/input/input-manager.c @@ -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)", |