diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2011-10-25 15:06:38 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2011-11-11 15:50:36 +1000 |
commit | fabee66bcc7260ec50c3091be3f9b503eea65e61 (patch) | |
tree | 849e762b2f8f348e611d93addf3c1a85337c5540 | |
parent | Use mtdev API to allocate/free mtdev structs (diff) | |
download | xf86-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.c | 2 |
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; |