diff options
Diffstat (limited to 'src/xf86Wacom.c')
-rw-r--r-- | src/xf86Wacom.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xf86Wacom.c b/src/xf86Wacom.c index 2a44f11..e92f56f 100644 --- a/src/xf86Wacom.c +++ b/src/xf86Wacom.c @@ -422,7 +422,10 @@ static int wcmDevInit(DeviceIntPtr pWcm) #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 16 if (IsTouch(priv)) { - if (!InitTouchClassDeviceStruct(pInfo->dev, common->wcmMaxContacts, XIDependentTouch, 2)) { + if (!InitTouchClassDeviceStruct(pInfo->dev, common->wcmMaxContacts, + TabletHasFeature(common, WCM_LCD) ? XIDirectTouch : XIDependentTouch, + 2)) + { xf86Msg(X_ERROR, "Unable to init touch class device struct!\n"); return FALSE; } |