0 is the value for "unknown/unlimited" number of touches

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2011-10-25 15:06:38 +10:00
parent 91d90a7959
commit fabee66bcc

View File

@@ -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;