diff options
-rw-r--r-- | src/eventcomm.c | 2 | ||||
-rw-r--r-- | src/synaptics.c | 3 | ||||
-rw-r--r-- | src/synapticsstr.h | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/src/eventcomm.c b/src/eventcomm.c index d52cb6c..f199c24 100644 --- a/src/eventcomm.c +++ b/src/eventcomm.c @@ -764,7 +764,7 @@ event_query_touch(InputInfoPtr pInfo) { xf86IDrvMsg(pInfo, X_INFO, "ignoring touch events for semi-multitouch device\n"); - return; + priv->has_semi_mt = TRUE; } if (rc >= 0 && BitIsOn(&prop, INPUT_PROP_BUTTONPAD)) diff --git a/src/synaptics.c b/src/synaptics.c index d422f0f..2770bd8 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@ -2788,6 +2788,9 @@ HandleTouches(InputInfoPtr pInfo, struct SynapticsHwState *hw) new_active_touches--; } + if (priv->has_semi_mt) + goto out; + if (priv->num_active_touches < min_touches && new_active_touches < min_touches) { diff --git a/src/synapticsstr.h b/src/synapticsstr.h index ecf186f..84c8a97 100644 --- a/src/synapticsstr.h +++ b/src/synapticsstr.h @@ -269,6 +269,7 @@ struct _SynapticsPrivateRec Bool has_pressure; /* device reports pressure */ Bool has_width; /* device reports finger width */ Bool has_scrollbuttons; /* device has physical scrollbuttons */ + Bool has_semi_mt; /* device is only semi-multitouch capable */ enum TouchpadModel model; /* The detected model */ unsigned short id_vendor; /* vendor id */ |