aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2023-06-05 14:59:40 +0200
committerAlexander Orzechowski <alex@ozal.ski>2023-06-06 21:38:07 +0000
commit544c0622fa32b508329d560df0222efe70417480 (patch)
treeba2dbe9051788088b17584ec19ea15f91f326a43 /include
parent25a62a3775932188d7f59077c70b59478cdae184 (diff)
presentation-time: constify wlr_presentation_feedback_send_presented()
We don't need to mutate the event in this function.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_presentation_time.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_presentation_time.h b/include/wlr/types/wlr_presentation_time.h
index 48bef659..817730b3 100644
--- a/include/wlr/types/wlr_presentation_time.h
+++ b/include/wlr/types/wlr_presentation_time.h
@@ -74,7 +74,7 @@ struct wlr_presentation_feedback *wlr_presentation_surface_sampled(
struct wlr_presentation *presentation, struct wlr_surface *surface);
void wlr_presentation_feedback_send_presented(
struct wlr_presentation_feedback *feedback,
- struct wlr_presentation_event *event);
+ const struct wlr_presentation_event *event);
void wlr_presentation_feedback_destroy(
struct wlr_presentation_feedback *feedback);