[PATCH weston v6] input: use doubles in the interfaces to notify of input events

Pekka Paalanen ppaalanen at gmail.com
Wed Mar 23 12:10:32 UTC 2016


On Tue, 22 Mar 2016 17:44:54 +0200
Giulio Camuffo <giuliocamuffo at gmail.com> wrote:

> 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 at collabora.com>
> Reviewed-by: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
> ---
> 
> v6: fixed pointer going out of sync with the x11 backend
> 
>  desktop-shell/shell.c    |  6 +++---
>  src/compositor-rdp.c     | 12 +++--------
>  src/compositor-wayland.c | 56 +++++++++++++++++++++++++++++-------------------
>  src/compositor-x11.c     | 22 +++++++++----------
>  src/compositor.c         | 12 +++++------
>  src/compositor.h         | 12 +++++------
>  src/input.c              | 19 ++++++++++------
>  src/libinput-device.c    | 26 ++++++++++------------
>  src/screen-share.c       |  5 +++--
>  9 files changed, 89 insertions(+), 81 deletions(-)


Enough, pushed:
   fcf4b6c..90a6fc6  master -> master

Let's see if any bug reports come up. :-D


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 811 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20160323/46a0e4b3/attachment.sig>


More information about the wayland-devel mailing list