Allow more than 6 axes to be sent.
authorTobias Koch <tobias.koch@nokia.com>
Wed, 29 Sep 2010 15:03:30 +0000 (18:03 +0300)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 12 Oct 2010 21:51:33 +0000 (07:51 +1000)
commit109ec12489f050e537d26eed2e60c6d97eb7439f
treeb8b54fa6c4d6e63e810772300ef0ef493478cd75
parent809ceed85bb577d4bbf80f2d84382375c65b9fbe
Allow more than 6 axes to be sent.

From: Tobias Koch <tobias.koch@nokia.com>

If the number of axes exceeds 6, X server will return BadValue for
XTestFakeInput because the number of axes in a single DeviceValuator
event is incorrectly set to the total number of axes.

Signed-off-by: Tobias Koch <tobias.koch@nokia.com>
Reviewed-by: Rami Ylimäki <rami.ylimaki@vincit.fi>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/XTest.c