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 | Merge pull request #2723 from ianyfan/swaybar (diff) | |
download | sway-ae2b70f59ec988ae1ad108316ec04d1f634ec735.tar.gz sway-ae2b70f59ec988ae1ad108316ec04d1f634ec735.tar.zst sway-ae2b70f59ec988ae1ad108316ec04d1f634ec735.zip |
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( | |||
120 | libinput_device_config_click_set_method(libinput_device, | 120 | libinput_device_config_click_set_method(libinput_device, |
121 | ic->click_method); | 121 | ic->click_method); |
122 | } | 122 | } |
123 | if (ic->drag != INT_MIN) { | ||
124 | wlr_log(WLR_DEBUG, | ||
125 | "libinput_config_pointer(%s) tap_set_drag_enabled(%d)", | ||
126 | ic->identifier, ic->click_method); | ||
127 | libinput_device_config_tap_set_drag_enabled(libinput_device, | ||
128 | ic->drag); | ||
129 | } | ||
123 | if (ic->drag_lock != INT_MIN) { | 130 | if (ic->drag_lock != INT_MIN) { |
124 | wlr_log(WLR_DEBUG, | 131 | wlr_log(WLR_DEBUG, |
125 | "libinput_config_pointer(%s) tap_set_drag_lock_enabled(%d)", | 132 | "libinput_config_pointer(%s) tap_set_drag_lock_enabled(%d)", |