Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
input-raw: Fix wrong first slot values by using calloc instead of malloc
We don't allocate memory often, so this is no performance issue. And this fixes the case when the driver doesn't send ABS_MT_SLOT 0 on the first pen-down. We simply start at slot 0 implicitely and actually should expect to start off with zeroes in our buffer.
- Loading branch information