From ae2b70f59ec988ae1ad108316ec04d1f634ec735 Mon Sep 17 00:00:00 2001 From: PP <34623266+PumbaPe@users.noreply.github.com> Date: Sat, 29 Sep 2018 11:49:41 +0200 Subject: add tap-and-drag setting to sway-input --- sway/config/input.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sway/config/input.c') diff --git a/sway/config/input.c b/sway/config/input.c index 6b43a5b9..794d5194 100644 --- a/sway/config/input.c +++ b/sway/config/input.c @@ -20,6 +20,7 @@ struct input_config *new_input_config(const char* identifier) { input->tap = INT_MIN; input->tap_button_map = INT_MIN; + input->drag = INT_MIN; input->drag_lock = INT_MIN; input->dwt = INT_MIN; input->send_events = INT_MIN; @@ -46,6 +47,9 @@ void merge_input_config(struct input_config *dst, struct input_config *src) { if (src->click_method != INT_MIN) { dst->click_method = src->click_method; } + if (src->drag != INT_MIN) { + dst->drag = src->drag; + } if (src->drag_lock != INT_MIN) { dst->drag_lock = src->drag_lock; } -- cgit v1.2.3