libinput: option tapping by default enabled

This fix helps most laptop users not to change properties in config.

Issue: https://github.com/X11Libre/xf86-input-libinput/issues/6
Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
This commit is contained in:
GermanAizek
2025-07-12 23:57:28 +03:00
committed by Enrico Weigelt
parent 4f163b3f73
commit d07bc60926

View File

@@ -5666,7 +5666,8 @@ LibinputInitTapProperty(DeviceIntPtr dev,
struct xf86libinput *driver_data,
struct libinput_device *device)
{
BOOL tap = driver_data->options.tapping;
// By default tapping property config is true
BOOL tap = driver_data->options.tapping ? driver_data->options.tapping : TRUE;
if (!subdevice_has_capabilities(dev, CAP_POINTER))
return;