Input: evdev - do not queue SYN_DROPPED if queue is empty
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 Feb 2015 23:56:28 +0000 (15:56 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 6 Feb 2015 03:29:02 +0000 (19:29 -0800)
commitb881d53770e68f3f9b6097a61dd1685180393f20
tree4a4a05083e2cb58ab45c33e3632e0eabd832b54d
parent6c8afa88adce613c23f27e719f805cc2a6441b07
Input: evdev - do not queue SYN_DROPPED if queue is empty

There is no point in queueing EV_SYN/SYN_DROPPED on clock type change when
there are no events in the client's queue and doing so confuses tests in
libinput package, so let's not do that.

Reported-and-tested-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/evdev.c