From 544c0622fa32b508329d560df0222efe70417480 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 5 Jun 2023 14:59:40 +0200 Subject: presentation-time: constify wlr_presentation_feedback_send_presented() We don't need to mutate the event in this function. --- include/wlr/types/wlr_presentation_time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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); -- cgit v1.2.3