Rename libinput_create_udev to libinput_create_from_udev

A lot more obvious what it does, it creates a libinput context from a udev
handler (rather than creating the udev handler).

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2013-12-05 18:35:32 +10:00 committed by Jonas Ådahl
parent d50c5108c1
commit 075119dd5a
2 changed files with 8 additions and 8 deletions

View file

@ -187,10 +187,10 @@ struct libinput_interface {
*/
struct libinput *
libinput_create_udev(const struct libinput_interface *interface,
void *user_data,
struct udev *udev,
const char *seat_id);
libinput_create_from_udev(const struct libinput_interface *interface,
void *user_data,
struct udev *udev,
const char *seat_id);
int
libinput_get_fd(struct libinput *libinput);

View file

@ -319,10 +319,10 @@ udev_seat_get_named(struct udev_input *input, const char *seat_name)
}
LIBINPUT_EXPORT struct libinput *
libinput_create_udev(const struct libinput_interface *interface,
void *user_data,
struct udev *udev,
const char *seat_id)
libinput_create_from_udev(const struct libinput_interface *interface,
void *user_data,
struct udev *udev,
const char *seat_id)
{
struct udev_input *input;