diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-19 13:36:49 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-04-19 13:48:39 +0400 |
| commit | 568c35ff876f126bb66ec7d7fb59a62424e6f8b5 (patch) | |
| tree | d3a4929a5b98a6af9a486c317e42a314d72bff76 /src/layout/monitor.rs | |
| parent | c4f600bdedbfb4d68440727c5c54e6b1b85062ec (diff) | |
| download | niri-568c35ff876f126bb66ec7d7fb59a62424e6f8b5.tar.gz niri-568c35ff876f126bb66ec7d7fb59a62424e6f8b5.tar.bz2 niri-568c35ff876f126bb66ec7d7fb59a62424e6f8b5.zip | |
Synchronize column removal anim on consume left/right
Visible when consuming left/right when always-centered and differing
horizontal view anim.
Diffstat (limited to 'src/layout/monitor.rs')
| -rw-r--r-- | src/layout/monitor.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/layout/monitor.rs b/src/layout/monitor.rs index 604dcab3..f1e8d542 100644 --- a/src/layout/monitor.rs +++ b/src/layout/monitor.rs @@ -346,7 +346,7 @@ impl<W: LayoutElement> Monitor<W> { let width = column.width; let is_full_width = column.is_full_width; let window = workspace - .remove_tile_by_idx(workspace.active_column_idx, column.active_tile_idx) + .remove_tile_by_idx(workspace.active_column_idx, column.active_tile_idx, None) .into_window(); self.add_window(new_idx, window, true, width, is_full_width); @@ -369,7 +369,7 @@ impl<W: LayoutElement> Monitor<W> { let width = column.width; let is_full_width = column.is_full_width; let window = workspace - .remove_tile_by_idx(workspace.active_column_idx, column.active_tile_idx) + .remove_tile_by_idx(workspace.active_column_idx, column.active_tile_idx, None) .into_window(); self.add_window(new_idx, window, true, width, is_full_width); @@ -392,7 +392,7 @@ impl<W: LayoutElement> Monitor<W> { let width = column.width; let is_full_width = column.is_full_width; let window = workspace - .remove_tile_by_idx(workspace.active_column_idx, column.active_tile_idx) + .remove_tile_by_idx(workspace.active_column_idx, column.active_tile_idx, None) .into_window(); self.add_window(new_idx, window, true, width, is_full_width); |
