aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-10-25 15:06:38 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-11-11 15:50:36 +1000
commitfabee66bcc7260ec50c3091be3f9b503eea65e61 (patch)
tree849e762b2f8f348e611d93addf3c1a85337c5540
parentUse mtdev API to allocate/free mtdev structs (diff)
downloadxf86-input-evdev-fabee66bcc7260ec50c3091be3f9b503eea65e61.tar.gz
xf86-input-evdev-fabee66bcc7260ec50c3091be3f9b503eea65e61.tar.bz2
xf86-input-evdev-fabee66bcc7260ec50c3091be3f9b503eea65e61.zip
0 is the value for "unknown/unlimited" number of touches
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--src/evdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c
index ce7cb7f..8108969 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1205,7 +1205,7 @@ EvdevAddAbsValuatorClass(DeviceIntPtr device)
#ifdef MULTITOUCH
if (num_mt_axes > 0)
{
- int num_touches = 10;
+ int num_touches = 0;
int mode = pEvdev->flags & EVDEV_TOUCHPAD ?
XIDependentTouch : XIDirectTouch;