tools: add missing dwtp option setting

Fixes 1f1ddbc6df

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2022-08-08 13:56:11 +10:00
parent 45db4ceb49
commit 507b0a38b3

View file

@ -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);