libweston: Implement pointer timestamps for input_timestamps_unstable_v1
authorAlexandros Frantzis <alexandros.frantzis@collabora.com>
Tue, 20 Feb 2018 12:06:26 +0000 (14:06 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Tue, 20 Feb 2018 13:09:53 +0000 (15:09 +0200)
commitdb907b7188198a759ee052334386aba712de4c1a
treef16f2154164863793d1ae1b8f8f557d000da9c21
parent2b44248f606727813995561eeeb3d1a69dfd0715
libweston: Implement pointer timestamps for input_timestamps_unstable_v1

Implement the zwp_input_timestamps_manager_v1.get_pointer_timestamps
request to subscribe to timestamp events for wl_pointer resources.
Ensure that the request handling code can gracefully handle inert
pointer resources.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
libweston/compositor.h
libweston/input.c
tests/pointer-test.c