mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-21 02:01:55 +07:00
Fix width shrinking when going from floating to scrolling
This commit is contained in:
@@ -501,7 +501,7 @@ impl<W: LayoutElement> FloatingSpace<W> {
|
||||
// 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,
|
||||
|
||||
Reference in New Issue
Block a user