From 08ac5ba6d1bd49d1e85b9e4fbce00ad6eb189129 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Thu, 30 Dec 2021 15:57:40 +0100 Subject: [PATCH] desktop: Make window damage public --- src/desktop/window.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/desktop/window.rs b/src/desktop/window.rs index 762676d..1ebd138 100644 --- a/src/desktop/window.rs +++ b/src/desktop/window.rs @@ -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> { + pub fn accumulated_damage(&self, for_values: Option<(&Space, &Output)>) -> Vec> { let mut damage = Vec::new(); if let Some(surface) = self.0.toplevel.get_surface() { damage.extend(