summaryrefslogtreecommitdiff
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
parent91d90a79593369ba1079d06a75f09ceaa9143768 (diff)
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;