mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-27 01:00:06 +01:00
test: fix the tracking_id sync test
A max of num_slots -1 caused the first MT_SLOT event to be skipped, leading to wrong tracking IDs in the slots. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e8505f57a4
commit
9fa89aabba
1 changed files with 1 additions and 1 deletions
|
|
@ -909,7 +909,7 @@ START_TEST(test_syn_delta_tracking_ids)
|
|||
abs[3].maximum = 1000;
|
||||
|
||||
abs[4].value = ABS_MT_SLOT;
|
||||
abs[4].maximum = num_slots - 1;
|
||||
abs[4].maximum = num_slots;
|
||||
|
||||
abs[5].minimum = -1;
|
||||
abs[5].maximum = 255;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue