From 20769b4c2f843566880f020f117e7bde36edc332 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 10 Feb 2025 14:12:54 +0300 Subject: tab indicator: Animate opening --- src/layout/mod.rs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/layout/mod.rs') diff --git a/src/layout/mod.rs b/src/layout/mod.rs index 4dec85f6..bdddf462 100644 --- a/src/layout/mod.rs +++ b/src/layout/mod.rs @@ -4112,11 +4112,8 @@ impl Layout { } for ws in self.workspaces_mut() { - for tile in ws.tiles_mut() { - if tile.window().id() == window { - tile.start_open_animation(); - return; - } + if ws.start_open_animation(window) { + return; } } } -- cgit