mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Make sure we don't use others' prefixes
This commit is contained in:
parent
f9f75a1362
commit
71ca45e2c0
33 changed files with 207 additions and 203 deletions
|
|
@ -86,7 +86,7 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
|
|||
if (!wlr_dev) {
|
||||
goto fail;
|
||||
}
|
||||
wlr_dev->keyboard = libinput_keyboard_create(libinput_dev);
|
||||
wlr_dev->keyboard = create_libinput_keyboard(libinput_dev);
|
||||
if (!wlr_dev->keyboard) {
|
||||
free(wlr_dev);
|
||||
goto fail;
|
||||
|
|
@ -99,7 +99,7 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
|
|||
if (!wlr_dev) {
|
||||
goto fail;
|
||||
}
|
||||
wlr_dev->pointer = libinput_pointer_create(libinput_dev);
|
||||
wlr_dev->pointer = create_libinput_pointer(libinput_dev);
|
||||
if (!wlr_dev->pointer) {
|
||||
free(wlr_dev);
|
||||
goto fail;
|
||||
|
|
@ -112,7 +112,7 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
|
|||
if (!wlr_dev) {
|
||||
goto fail;
|
||||
}
|
||||
wlr_dev->touch = libinput_touch_create(libinput_dev);
|
||||
wlr_dev->touch = create_libinput_touch(libinput_dev);
|
||||
if (!wlr_dev->touch) {
|
||||
free(wlr_dev);
|
||||
goto fail;
|
||||
|
|
@ -125,7 +125,7 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
|
|||
if (!wlr_dev) {
|
||||
goto fail;
|
||||
}
|
||||
wlr_dev->tablet_tool = libinput_tablet_tool_create(libinput_dev);
|
||||
wlr_dev->tablet_tool = create_libinput_tablet_tool(libinput_dev);
|
||||
if (!wlr_dev->tablet_tool) {
|
||||
free(wlr_dev);
|
||||
goto fail;
|
||||
|
|
@ -138,7 +138,7 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
|
|||
if (!wlr_dev) {
|
||||
goto fail;
|
||||
}
|
||||
wlr_dev->tablet_pad = libinput_tablet_pad_create(libinput_dev);
|
||||
wlr_dev->tablet_pad = create_libinput_tablet_pad(libinput_dev);
|
||||
if (!wlr_dev->tablet_pad) {
|
||||
free(wlr_dev);
|
||||
goto fail;
|
||||
|
|
@ -192,7 +192,7 @@ static void handle_device_removed(struct wlr_libinput_backend *backend,
|
|||
free(wlr_devices);
|
||||
}
|
||||
|
||||
void libinput_handle_event(struct wlr_libinput_backend *backend,
|
||||
void handle_libinput_event(struct wlr_libinput_backend *backend,
|
||||
struct libinput_event *event) {
|
||||
assert(backend && event);
|
||||
struct libinput_device *libinput_dev = libinput_event_get_device(event);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue