floating: Animate tiling state changes

This commit is contained in:
Victoria Brekenfeld 2023-11-14 16:32:49 +01:00 committed by Victoria Brekenfeld
parent 2d15fb9766
commit cf5b21f437
3 changed files with 199 additions and 20 deletions

View file

@ -260,6 +260,7 @@ impl Workspace {
pub fn animations_going(&self) -> bool {
self.tiling_layer.animations_going()
|| self.floating_layer.animations_going()
|| self
.fullscreen
.as_ref()
@ -310,6 +311,7 @@ impl Workspace {
}
clients.extend(self.tiling_layer.update_animation_state());
self.floating_layer.update_animation_state();
clients
}