GNOME Bugzilla – Bug 712816
device-manager-evdev: Stop using deprecated libevdev API
Last modified: 2013-11-22 10:22:40 UTC
Not sure if want/can start depending on newer libevdev API right away but I'm using this to kill some compiler warnings.
Created attachment 260448 [details] [review] device-manager-evdev: Stop using deprecated libevdev API Fixes compiler warnings with libevdev >= 0.4 and makes use of a new function to set the clock id instead of doing the ioctl directly.
Review of attachment 260448 [details] [review]: looks okay to me. you should also add a release note in README.in for Clutter 1.18 about the new dependency. ::: configure.ac @@ +481,3 @@ [ CLUTTER_INPUT_BACKENDS="$CLUTTER_INPUT_BACKENDS evdev" + BACKEND_PC_FILES="$BACKEND_PC_FILES gudev-1.0 libevdev >= 0.4 xkbcommon" the version should probably be m4-ised, so that we don't have to hunt down the line if we need to bump the requirement.
Created attachment 260459 [details] [review] device-manager-evdev: Stop using deprecated libevdev API -- Like this?
Review of attachment 260459 [details] [review]: that's precisely what I had in mind, thanks. looks good now.
Attachment 260459 [details] pushed as 3cd9a70 - device-manager-evdev: Stop using deprecated libevdev API