GNOME Bugzilla – Bug 731178
evdev: Used floating point instead of fixed point numbers
Last modified: 2014-06-10 09:41:22 UTC
Upstream is undergoing a backward-incompatible API change, deprecating li_fixed_t usage (identical to wl_fixed_t) changeng to using doubles. This patch updates the clutter implementation to newer API. There is no release available yet with this change, and it is not yet pushed upstream, but has been sent to wayland-devel@lists.freedesktop.org.
Created attachment 277833 [details] [review] evdev: Used floating point instead of fixed point numbers Following the API change in libinput, change the uses of fixed point numbers to floating point numbers.
Review of attachment 277833 [details] [review]: looks good, and finally sanity prevailed. :-) do we have a version number we can depend on in the pkg-config check? I'd be more comfortable landing this when we can fail configuration/compilation unless we have the correct API.
(In reply to comment #2) > Review of attachment 277833 [details] [review]: > > looks good, and finally sanity prevailed. :-) > > do we have a version number we can depend on in the pkg-config check? I'd be > more comfortable landing this when we can fail configuration/compilation unless > we have the correct API. No, but I can bump the version to 0.2.99 or something after pushing and update this to require that version. Then we just need to synchronize so that there is a libinput version available before releasing a clutter version with this patch. There is another API break ingoing (renaming an enum), which would make sense to push in one go together with this. I'll create another patch for that change. How does that sound?
sounds good to me.
Created attachment 277933 [details] [review] evdev: Used floating point instead of fixed point numbers Following the API change in libinput, change the uses of fixed point numbers to floating point numbers.
*** Bug 731445 has been marked as a duplicate of this bug. ***
Review of attachment 277933 [details] [review]: looks good.
Attachment 277933 [details] pushed as 61929e2 - evdev: Used floating point instead of fixed point numbers