diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2023-06-08 13:45:07 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2023-06-08 14:14:37 +1000 |
commit | a4dfadee2ff9a53aaeaed1b18404138fcf7fdaca (patch) | |
tree | ae329d299d07bfad8ab99d652aca7ab164dabc7c | |
parent | 141aa867a6c4b0f4fc3b9a89a12080e01a59d7c9 (diff) |
Initialize the left-handed property for tablet tools
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/xf86libinput.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c index eb1c609..b2ae804 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c @@ -732,7 +732,7 @@ LibinputApplyConfigLeftHanded(DeviceIntPtr dev, { InputInfoPtr pInfo = dev->public.devicePrivate; - if (!subdevice_has_capabilities(dev, CAP_POINTER|CAP_TABLET)) + if (!subdevice_has_capabilities(dev, CAP_POINTER|CAP_TABLET|CAP_TABLET_TOOL)) return; if (libinput_device_config_left_handed_is_available(device) && @@ -5728,7 +5728,7 @@ LibinputInitLeftHandedProperty(DeviceIntPtr dev, { BOOL left_handed = driver_data->options.left_handed; - if (!subdevice_has_capabilities(dev, CAP_POINTER|CAP_TABLET)) + if (!subdevice_has_capabilities(dev, CAP_POINTER|CAP_TABLET|CAP_TABLET_TOOL)) return; if (!libinput_device_config_left_handed_is_available(device) || |