aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2022-05-22 10:18:43 +0300
committerKirill Primak <vyivel@eclair.cafe>2022-06-29 18:54:27 +0300
commit97f0347780358eb1e052af5bc40f2c0c9b7e170b (patch)
tree4c1c59c34b404a8db688b1b9d5dc5b41dd042112 /include
parente0accb2d50f8a3ba74802e6a8673af2eb1aa1e68 (diff)
scene: switch to wlr_damage_ring
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_scene.h4
1 files changed, 3 insertions, 1 deletions
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 <pixman.h>
#include <wayland-server-core.h>
#include <wlr/types/wlr_compositor.h>
+#include <wlr/types/wlr_damage_ring.h>
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 */