forge
Explore
Log in

Don't you dare go Hollow

floating: Remove TODO on tile removing width

Browse files at this commit

baf78ccda28b2a8992ba1ae3739d166167c9ee5fIvan MolodetskikhParent: 31f0e66
src/layout/floating.rsmodified+1 -2
@@ -507,10 +507,9 @@ impl<W: LayoutElement> FloatingSpace<W> {
507 // Store the floating position.507 // Store the floating position.
508 tile.floating_pos = Some(data.pos);508 tile.floating_pos = Some(data.pos);
509 509
510- let width = ColumnWidth::Fixed(tile.window_size().w);510+ let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w);
511 RemovedTile {511 RemovedTile {
512 tile,512 tile,
513- // TODO
514 width,513 width,
515 is_full_width: false,514 is_full_width: false,
516 is_floating: true,515 is_floating: true,