From d1ddd4ca3a1879b85d823f06b018aa19593a320a Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Mon, 13 Nov 2023 01:25:34 -0500 Subject: wlr_scene_surface: Introduce scene_surface_set_clip --- include/types/wlr_scene.h | 2 ++ include/wlr/types/wlr_scene.h | 2 ++ 2 files changed, 4 insertions(+) (limited to 'include') diff --git a/include/types/wlr_scene.h b/include/types/wlr_scene.h index 64c11bc6..80dcfd1b 100644 --- a/include/types/wlr_scene.h +++ b/include/types/wlr_scene.h @@ -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 diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index bb5f025d..3a3d34c2 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -119,6 +119,8 @@ struct wlr_scene_surface { // private state + struct wlr_box clip; + struct wlr_addon addon; struct wl_listener outputs_update; -- cgit v1.2.3