mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
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 <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user