Fix width shrinking when going from floating to scrolling

This commit is contained in:
Ivan Molodetskikh
2024-12-30 13:25:10 +03:00
parent 793e92e9d6
commit 08fb9435fd
+1 -1
View File
@@ -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,