aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-07-03 12:20:41 -0400
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-07-03 12:21:52 -0400
commit5dc1d4671dd2ca3c1f0f09587c463fdbb542f0a4 (patch)
tree734461e8dc56130e6415ecc8573f502805aa8133 /include/wlr
parentfdfdd01a796a736a2c41a80e2670972b3d4b1eff (diff)
wlr_scene: Maintain damage highlight regions per output
The logic doesn't support handling multiple outputs so let's not break the assumption and handle damages per output much like how damage_ring is done.
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_scene.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h
index 95f18f37..85d0f94e 100644
--- a/include/wlr/types/wlr_scene.h
+++ b/include/wlr/types/wlr_scene.h
@@ -93,7 +93,6 @@ struct wlr_scene {
struct wl_listener presentation_destroy;
enum wlr_scene_debug_damage_option debug_damage_option;
- struct wl_list damage_highlight_regions;
};
/** A scene-graph node displaying a single surface. */
@@ -178,6 +177,8 @@ struct wlr_scene_output {
struct wl_listener output_mode;
struct wl_listener output_damage;
struct wl_listener output_needs_frame;
+
+ struct wl_list damage_highlight_regions;
};
/** A layer shell scene helper */