evdev: Wait for SYN event before sending events over to the client
authorSatyeshwar Singh <satyeshwar.singh@intel.com>
Wed, 27 Feb 2013 20:26:23 +0000 (15:26 -0500)
committerJonas Ådahl <jadahl@gmail.com>
Sun, 10 Nov 2013 16:51:31 +0000 (17:51 +0100)
commitb3e195bd271eba7064eba4a1e5b04edcc34390c5
tree7059b9783e6b61e2a14f3ce34fb9de8e8b0cf0ea
parenta74a37275368cea3e417a2d8d0dede06002c5dbc
evdev: Wait for SYN event before sending events over to the client

The issue was that touch::down event from the compositor to client apps
would send the previous motion events coordinates and this obviously made
the client do the wrong thing. This happened because we were not waiting
for a SYN event to come from evdev before sending down, motion or up events.

https://bugs.freedesktop.org/show_bug.cgi?id=51909
src/evdev-touchpad.c
src/evdev.c
src/evdev.h