diff options
Diffstat (limited to 'src/synaptics.c')
-rw-r--r-- | src/synaptics.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/synaptics.c b/src/synaptics.c index c3df66e..9937634 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -1145,8 +1145,9 @@ DeviceInit(DeviceIntPtr dev) #ifdef HAVE_MULTITOUCH if (priv->has_touch) { + /* x/y + whatever other MT axes we found */ if (!InitTouchClassDeviceStruct(dev, priv->num_touches, - XIDependentTouch, priv->num_mt_axes)) + XIDependentTouch, 2 + priv->num_mt_axes)) { xf86IDrvMsg(pInfo, X_ERROR, "failed to initialize touch class device\n"); |