On Tue, Mar 11, 2014 at 1:27 AM, Peter Hutterer <[email protected]> wrote: > 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 <[email protected]> > --- > src/eventcomm.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/eventcomm.c b/src/eventcomm.c > index fb4181e..82f620d 100644 > --- a/src/eventcomm.c > +++ b/src/eventcomm.c > @@ -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;
yeah! that fix a compile bug under RHEL 6 Cheers, Benjamin > ev->value = 0; > ev->time = last_event_time; > } else if (ev->type == EV_SYN) > -- > 1.8.5.3 > > _______________________________________________ > [email protected]: X.Org development > Archives: http://lists.x.org/archives/xorg-devel > Info: http://lists.x.org/mailman/listinfo/xorg-devel _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
