diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 13:25:10 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-12-30 20:12:37 +0300 |
| commit | 08fb9435fda1b5109d8414b6aaec980ab4068148 (patch) | |
| tree | 6cc26ccfe8bcbe683ae271959dc55fa999a85528 | |
| parent | 793e92e9d69f3640754d9ece40ddc7723cf49292 (diff) | |
| download | niri-08fb9435fda1b5109d8414b6aaec980ab4068148.tar.gz niri-08fb9435fda1b5109d8414b6aaec980ab4068148.tar.bz2 niri-08fb9435fda1b5109d8414b6aaec980ab4068148.zip | |
Fix width shrinking when going from floating to scrolling
| -rw-r--r-- | src/layout/floating.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/floating.rs b/src/layout/floating.rs index faeca273..1453415c 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -501,7 +501,7 @@ impl<W: LayoutElement> FloatingSpace<W> { // Store the floating position. tile.floating_pos = Some(data.pos); - let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w); + let width = ColumnWidth::Fixed(tile.tile_expected_or_current_size().w); RemovedTile { tile, width, |
