Re: [PATCH v2 libinput] tablet: if a serial comes in late, discard it

2016-09-01 Thread Jason Gerecke
On 08/31/2016 11:43 PM, Peter Hutterer wrote: > If a tool starts reporting with serial 0 and later updates to a real serial, > discard that serial and keep reporting as serial 0. We cannot really change > the tool after proximity in as we don't know when callers query for the serial > (well, we

[PATCH v2 libinput] tablet: if a serial comes in late, discard it

2016-09-01 Thread Peter Hutterer
If a tool starts reporting with serial 0 and later updates to a real serial, discard that serial and keep reporting as serial 0. We cannot really change the tool after proximity in as we don't know when callers query for the serial (well, we could know but any well-written caller will ask for the