diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-11-08 18:23:51 -0500 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2023-11-14 17:27:08 +0000 |
commit | 33b437d5744fe38f333f65a2346d7c2b041212d5 (patch) | |
tree | 504c83673c0ca929f9d5fc2be59b7d5b87da04a2 /include/wlr | |
parent | 6cf0bb4b1920e89204668c3c207aa392fc82fba7 (diff) |
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.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_scene.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |