From 08fb9435fda1b5109d8414b6aaec980ab4068148 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Mon, 30 Dec 2024 13:25:10 +0300 Subject: Fix width shrinking when going from floating to scrolling --- src/layout/floating.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 FloatingSpace { // 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, -- cgit