diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/types/wlr_scene.h | 2 | ||||
-rw-r--r-- | include/wlr/types/wlr_scene.h | 2 |
2 files changed, 4 insertions, 0 deletions
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; |