diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 14:12:54 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | 20769b4c2f843566880f020f117e7bde36edc332 (patch) | |
| tree | 5c8270c86caa7fe8d284c30ec377e5f2e916d76b /src/layout/mod.rs | |
| parent | 14ac2cff4cafb2e4df74d2194eaeb1664b33c831 (diff) | |
| download | niri-20769b4c2f843566880f020f117e7bde36edc332.tar.gz niri-20769b4c2f843566880f020f117e7bde36edc332.tar.bz2 niri-20769b4c2f843566880f020f117e7bde36edc332.zip | |
tab indicator: Animate opening
Diffstat (limited to 'src/layout/mod.rs')
| -rw-r--r-- | src/layout/mod.rs | 7 |
1 files changed, 2 insertions, 5 deletions
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<W: LayoutElement> Layout<W> { } 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; } } } |
