summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-08-29 15:14:55 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-09-02 09:10:57 +1000
commitd686e13338522ce920a88dffb636facbb90658a5 (patch)
tree070f876c1eb84138e2263008ed500174b0f1ecd8 /udev
parent3ceb6aeb8ce0bce66a4d67fbe876674f359c3a61 (diff)
tablet: if a serial comes in late, discard it
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 serial on the proximity in event, so what's the point). Thus if we do get a serial in and the matching tool, check if we have a tool with the serial 0 already. If so, re-use that. This means we lose correct tool tracking on such tablets but so far these seem to only be on devices where the use of multiple tools is unlikely. https://bugs.freedesktop.org/show_bug.cgi?id=97526 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com>
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions