desktop: Make window damage public
@@ -260,10 +260,7 @@ impl Window {
}
/// Damage of all the surfaces of this window
- pub(super) fn accumulated_damage(
- &self,
- for_values: Option<(&Space, &Output)>,
- ) -> Vec<Rectangle<i32, Logical>> {
+ pub fn accumulated_damage(&self, for_values: Option<(&Space, &Output)>) -> Vec<Rectangle<i32, Logical>> {
let mut damage = Vec::new();
if let Some(surface) = self.0.toplevel.get_surface() {
damage.extend(
