summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Osterlund <petero2@telia.com>2003-12-16 19:48:52 +0100
committerPeter Osterlund <petero2@telia.com>2006-04-09 04:01:32 +0200
commit8f9605830b9e5e60f68561ddb3747f250707f802 (patch)
treebb5694cb6889eab0cbd0a60c18ecbe9770ef73ed
parentf928c154f544f22d3a51cd4972a1e1e36c973781 (diff)
Guest packets require the newabs protocol. (From Fred Hucht
<fred@thp.Uni-Duisburg.DE>.)
-rw-r--r--synaptics.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/synaptics.c b/synaptics.c
index 15befb6..d504295 100644
--- a/synaptics.c
+++ b/synaptics.c
@@ -1410,7 +1410,7 @@ SynapticsParseRawPacket(LocalDevicePtr local, SynapticsPrivate *priv,
/* Handle guest packets */
hw->guest_dx = hw->guest_dy = 0;
- if (priv->hasGuest) {
+ if (newabs && priv->hasGuest) {
w = (((buf[0] & 0x30) >> 2) |
((buf[0] & 0x04) >> 1) |
((buf[3] & 0x04) >> 2));