floating: Remove TODO on tile removing width
Browse files at this commitbaf78ccda28b2a8992ba1ae3739d166167c9ee5fParent: 31f0e661 changed file +1 -2
- src/layout/floating.rs +1 -2
src/layout/floating.rsmodified+1 -2
| @@ -507,10 +507,9 @@ impl<W: LayoutElement> FloatingSpace<W> { | ||
| 507 | 507 | // Store the floating position. |
| 508 | 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 | 511 | RemovedTile { |
| 512 | 512 | tile, |
| 513 | - // TODO | |
| 514 | 513 | width, |
| 515 | 514 | is_full_width: false, |
| 516 | 515 | is_floating: true, |