Fix width shrinking when going from floating to scrolling
Browse files at this commit08fb9435fda1b5109d8414b6aaec980ab4068148Parent: 793e92e1 changed file +1 -1
- src/layout/floating.rs +1 -1
src/layout/floating.rsmodified+1 -1
| @@ -501,7 +501,7 @@ impl<W: LayoutElement> FloatingSpace<W> { | |||
| 501 | // Store the floating position. | 501 | // Store the floating position. |
| 502 | tile.floating_pos = Some(data.pos); | 502 | tile.floating_pos = Some(data.pos); |
| 503 | 503 | ||
| 504 | - let width = ColumnWidth::Fixed(tile.window_expected_or_current_size().w); | 504 | + let width = ColumnWidth::Fixed(tile.tile_expected_or_current_size().w); |
| 505 | RemovedTile { | 505 | RemovedTile { |
| 506 | tile, | 506 | tile, |
| 507 | width, | 507 | width, |