From 33b437d5744fe38f333f65a2346d7c2b041212d5 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Wed, 8 Nov 2023 18:23:51 -0500 Subject: wlr_scene: Amend scene_buffer.point_accepts_input to take coordinate pointers The pointers mean that we can mutate them. This will be useful later so we can hide details from the compositor when we clip subsurface trees. --- include/wlr/types/wlr_scene.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 1fa60b65..bb5f025d 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -45,7 +45,7 @@ struct wlr_linux_dmabuf_v1; struct wlr_output_state; typedef bool (*wlr_scene_buffer_point_accepts_input_func_t)( - struct wlr_scene_buffer *buffer, int sx, int sy); + struct wlr_scene_buffer *buffer, double *sx, double *sy); typedef void (*wlr_scene_buffer_iterator_func_t)( struct wlr_scene_buffer *buffer, int sx, int sy, void *user_data); -- cgit v1.2.3