mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-05-01 17:57:57 +02:00
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:
parent
d50c5108c1
commit
075119dd5a
2 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue