aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput/events.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-04-25 23:51:00 +0100
committeremersion <contact@emersion.fr>2018-04-25 23:51:00 +0100
commit625a7a48dc9f348a7556b03dd3c10a6a7d9c6037 (patch)
treed0c31f933c291b040347106d03e6af2fad50c73c /backend/libinput/events.c
parent71ca45e2c0cbecf8fb24f0cab019646d92cce14b (diff)
Don't use the wlr_ prefix for static functions
Diffstat (limited to 'backend/libinput/events.c')
-rw-r--r--backend/libinput/events.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index f0accdd8..ace21a89 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -24,7 +24,7 @@ struct wlr_input_device *get_appropriate_device(
return NULL;
}
-static void wlr_libinput_device_destroy(struct wlr_input_device *_dev) {
+static void input_device_destroy(struct wlr_input_device *_dev) {
struct wlr_libinput_input_device *dev = (struct wlr_libinput_input_device *)_dev;
libinput_device_unref(dev->handle);
wl_list_remove(&dev->wlr_input_device.link);
@@ -32,7 +32,7 @@ static void wlr_libinput_device_destroy(struct wlr_input_device *_dev) {
}
static const struct wlr_input_device_impl input_device_impl = {
- .destroy = wlr_libinput_device_destroy
+ .destroy = input_device_destroy,
};
static struct wlr_input_device *allocate_device(