After a SYN_DROPPED, drop all events in the queue
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 30 May 2013 02:20:21 +0000 (12:20 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 30 May 2013 03:37:44 +0000 (13:37 +1000)
commitec093aa39840e79892b409749ac006c9aaa23026
tree1834f0b2ec2307b4d1671938aae969c8730811b9
parent549f0f0bcd3ceec21393e953e13a86a716fc9580
After a SYN_DROPPED, drop all events in the queue

Ideally, we could sync by pre-pending all the sync events and then pretend
nothing happened but our queue is too small and likely too full for any
extra events. So drop all events, then add the sync events to the queue.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/libevdev-int.h
libevdev/libevdev.c