wlr_scene_surface: Introduce scene_surface_set_clip

This commit is contained in:
Alexander Orzechowski 2023-11-13 01:25:34 -05:00 committed by Isaac Freund
parent c6d356648c
commit d1ddd4ca3a
3 changed files with 72 additions and 4 deletions

View file

@ -5,4 +5,6 @@
struct wlr_scene *scene_node_get_root(struct wlr_scene_node *node);
void scene_surface_set_clip(struct wlr_scene_surface *surface, struct wlr_box *clip);
#endif

View file

@ -119,6 +119,8 @@ struct wlr_scene_surface {
// private state
struct wlr_box clip;
struct wlr_addon addon;
struct wl_listener outputs_update;