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)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 27 Feb 2013 21:10:22 +0000 (16:10 -0500)
commiteb4fa8e4f59e923a3d763d1f64ec5ea996de0a2b
treee51d0ce2361be3fecdc57472ac6aa99e3e80545b
parent71c1ef42f0a86231616c32258547eaa2919411c4
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