Skip to content

Commit 6911434

Browse files
Herman SemenovGermanAizek
authored andcommitted
libinput: option tapping by default enabled
This fix helps most laptop users not to change properties in config. Issue: #6 Signed-off-by: Herman Semenov <GermanAizek@yandex.ru>
1 parent 2e1f7a9 commit 6911434

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/xf86libinput.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5641,7 +5641,8 @@ LibinputInitTapProperty(DeviceIntPtr dev,
56415641
struct xf86libinput *driver_data,
56425642
struct libinput_device *device)
56435643
{
5644-
BOOL tap = driver_data->options.tapping;
5644+
// By default tapping property config is true
5645+
BOOL tap = driver_data->options.tapping ? driver_data->options.tapping : TRUE;
56455646

56465647
if (!subdevice_has_capabilities(dev, CAP_POINTER))
56475648
return;

0 commit comments

Comments
 (0)