summaryrefslogtreecommitdiff
path: root/src/wcmCommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/wcmCommon.c')
-rw-r--r--src/wcmCommon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index 055583d..0f041e3 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -812,8 +812,8 @@ void wcmSendEvents(InputInfoPtr pInfo, const WacomDeviceState* ds)
if (type == PAD_ID)
wcmSendPadEvents(pInfo, ds, 3, priv->naxes - 3, &valuators[3]); /* pad doesn't post x/y/z */
else {
- /* don't move the cursor if in gesture mode */
- if (!priv->common->wcmGestureMode)
+ /* don't move the cursor if in gesture mode (except drag mode) */
+ if ((type != TOUCH_ID) || wcmTouchNeedSendEvents(priv->common))
wcmSendNonPadEvents(pInfo, ds, 0, priv->naxes, valuators);
}