summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/evdev.c2
-rw-r--r--src/evdev.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev.c b/src/evdev.c
index 6d231db6..1a0759b3 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -2671,7 +2671,7 @@ evdev_device_has_capability(struct evdev_device *device,
}
int
-evdev_device_get_size(struct evdev_device *device,
+evdev_device_get_size(const struct evdev_device *device,
double *width,
double *height)
{
diff --git a/src/evdev.h b/src/evdev.h
index a3e76c5f..f9c0dd19 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -371,7 +371,7 @@ evdev_device_has_capability(struct evdev_device *device,
enum libinput_device_capability capability);
int
-evdev_device_get_size(struct evdev_device *device,
+evdev_device_get_size(const struct evdev_device *device,
double *w,
double *h);