From 97f0347780358eb1e052af5bc40f2c0c9b7e170b Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Sun, 22 May 2022 10:18:43 +0300 Subject: scene: switch to wlr_damage_ring --- include/wlr/types/wlr_scene.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/wlr') diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index 49804d83..74f55288 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -22,6 +22,7 @@ #include #include #include +#include struct wlr_output; struct wlr_output_layout; @@ -160,7 +161,7 @@ struct wlr_scene_output { struct wlr_scene *scene; struct wlr_addon addon; - struct wlr_output_damage *damage; + struct wlr_damage_ring damage_ring; int x, y; @@ -175,6 +176,7 @@ struct wlr_scene_output { struct wl_listener output_commit; struct wl_listener output_mode; + struct wl_listener output_needs_frame; }; /** A layer shell scene helper */ -- cgit v1.2.3