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;
                 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

Reply via email to