aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-08-17 15:12:47 +0200
committerSimon Zeni <simon@bl4ckb0ne.ca>2021-09-08 09:50:08 -0400
commit44f0f7a0a7ce856747d219c9e83159f741f5e912 (patch)
tree9488ba5b0a8f63b9e1df2ab2961486bc1464f491 /include/wlr
parent9195b77e14a7793f622edf136cede522c8cbdb58 (diff)
scene: add damage tracking support
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_scene.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h
index cec54a0b..95d86d83 100644
--- a/include/wlr/types/wlr_scene.h
+++ b/include/wlr/types/wlr_scene.h
@@ -68,6 +68,7 @@ struct wlr_scene_surface {
// private state
struct wl_listener surface_destroy;
+ struct wl_listener surface_commit;
};
/** A scene-graph node displaying a solid-colored rectangle */
@@ -84,6 +85,8 @@ struct wlr_scene_output {
struct wlr_scene *scene;
struct wlr_addon addon;
+ struct wlr_output_damage *damage;
+
int x, y;
};