input: use doubles in the interfaces to notify of input events
authorGiulio Camuffo <giuliocamuffo@gmail.com>
Tue, 22 Mar 2016 15:44:54 +0000 (17:44 +0200)
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>
Wed, 23 Mar 2016 12:05:09 +0000 (14:05 +0200)
commit90a6fc659f8a842f2460be2742f4e1359848f615
treead96b18dc293d963ceacc511fede2d1cd473a3a0
parentfcf4b6c0aef3d2e3afda5fa8a4d4127585f7231b
input: use doubles in the interfaces to notify of input events

This patch is a further step in the wl_fixed_t internal sanitization.
It changes the notify_* functions to take doubles instead of wl_fixed_t
but does not change how these are stored in the various input structs
yet, except for weston_pointer_axis_event.
However this already allows to remove all wl_fixed_t usage in places
like the libinput or the x11 backend.

Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
desktop-shell/shell.c
src/compositor-rdp.c
src/compositor-wayland.c
src/compositor-x11.c
src/compositor.c
src/compositor.h
src/input.c
src/libinput-device.c
src/screen-share.c