aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/events.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-21 11:42:18 +0100
committeremersion <contact@emersion.fr>2018-04-25 23:00:46 +0100
commitb0d99f5c6702d2d5fcf0d8aec2c81a6ecc2a677c (patch)
tree876dd0f572f24f693cbf72295bf721d0be323613 /backend/libinput/events.c
parent097561d6bf51f61356fb096a8a3c59c2ff1de3fe (diff)
Remove wlr_ prefix from local symbols
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r--backend/libinput/events.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index da7b2be4..a136d1e6 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -86,7 +86,7 @@ static void handle_device_added(struct wlr_libinput_backend *backend,
if (!wlr_dev) {
goto fail;
}
- wlr_dev->keyboard = wlr_libinput_keyboard_create(libinput_dev);
+ wlr_dev->keyboard = libinput_keyboard_create(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 = wlr_libinput_pointer_create(libinput_dev);
+ wlr_dev->pointer = libinput_pointer_create(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 = wlr_libinput_touch_create(libinput_dev);
+ wlr_dev->touch = libinput_touch_create(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 = wlr_libinput_tablet_tool_create(libinput_dev);
+ wlr_dev->tablet_tool = libinput_tablet_tool_create(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 = wlr_libinput_tablet_pad_create(libinput_dev);
+ wlr_dev->tablet_pad = libinput_tablet_pad_create(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 wlr_libinput_event(struct wlr_libinput_backend *backend,
+void libinput_handle_event(struct wlr_libinput_backend *backend,
struct libinput_event *event) {
assert(backend && event);
struct libinput_device *libinput_dev = libinput_event_get_device(event);