aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2018-03-06 19:59:10 +1300
committerScott Anderson <ascent12@hotmail.com>2018-03-06 21:16:18 +1300
commit3c9fc7c68ec7e0474f40bedc33d55862e03af057 (patch)
tree92f33db4faf0ae3ff1f8345805303fb2c0884dd2 /backend/libinput
parent902d6cc240c5ecb5a19cf67173b968bfed34c565 (diff)
Add const to x11 and input interfaces
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/events.c b/backend/libinput/events.c
index 603eed07..d92de830 100644
--- a/backend/libinput/events.c
+++ b/backend/libinput/events.c
@@ -31,7 +31,7 @@ static void wlr_libinput_device_destroy(struct wlr_input_device *_dev) {
free(dev);
}
-static struct wlr_input_device_impl input_device_impl = {
+static const struct wlr_input_device_impl input_device_impl = {
.destroy = wlr_libinput_device_destroy
};