Commit 040dfeba authored by Peter Hutterer's avatar Peter Hutterer

eventcomm: fix wrong event code for SYN_REPORT

This was supposed to emulate a SYN_REPORT event so that the upper layers
process what's in the queue.
Signed-off-by: Peter Hutterer's avatarPeter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: default avatarHans de Goede <hdegoede@redhat.com>
Reviewed-by: Benjamin Tissoires's avatarBenjamin Tissoires <benjamin.tissoires@gmail.com>
parent 66240dc3
......@@ -526,7 +526,7 @@ SynapticsReadEvent(InputInfoPtr pInfo, struct input_event *ev)
proto_data->read_flag == LIBEVDEV_READ_FLAG_NORMAL) {
proto_data->read_flag = LIBEVDEV_READ_FLAG_SYNC;
ev->type = EV_SYN;
ev->code = SYN_DROPPED;
ev->code = SYN_REPORT;
ev->value = 0;
ev->time = last_event_time;
} else if (ev->type == EV_SYN)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment