From baf78ccda28b2a8992ba1ae3739d166167c9ee5f Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 26 Dec 2024 09:04:43 +0300 Subject: floating: Remove TODO on tile removing width --- src/layout/floating.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/layout/floating.rs') diff --git a/src/layout/floating.rs b/src/layout/floating.rs index 94831228..2793a991 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -507,10 +507,9 @@ impl FloatingSpace { // Store the floating position. tile.floating_pos = Some(data.pos); - let width = ColumnWidth::Fixed(tile.window_size().w); + let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w); RemovedTile { tile, - // TODO width, is_full_width: false, is_floating: true, -- cgit