summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-08-08 13:56:11 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-08-08 13:57:13 +1000
commit507b0a38b3e9bc55dbe7c15a57b64c98f5d087fa (patch)
tree165e0632dfbd6ae555486c9f6356afd9b18c324d
parent45db4ceb491824f6bb4ffecb7297cde3cf17d79b (diff)
downloadlibinput-507b0a38b3e9bc55dbe7c15a57b64c98f5d087fa.tar.gz
tools: add missing dwtp option setting
Fixes 1f1ddbc6dff0cf0451e3c9ac923f9821278560aa Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--tools/shared.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/shared.c b/tools/shared.c
index 28d6af30..760327a4 100644
--- a/tools/shared.c
+++ b/tools/shared.c
@@ -444,6 +444,9 @@ tools_device_apply_config(struct libinput_device *device,
if (options->dwt != -1)
libinput_device_config_dwt_set_enabled(device, options->dwt);
+ if (options->dwtp != -1)
+ libinput_device_config_dwtp_set_enabled(device, options->dwtp);
+
if (options->click_method != (enum libinput_config_click_method)-1)
libinput_device_config_click_set_method(device, options->click_method);