mirror of
https://github.com/X11Libre/xf86-input-libinput.git
synced 2026-03-24 09:34:04 +00:00
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:
committed by
Enrico Weigelt
parent
4f163b3f73
commit
d07bc60926
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user