mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-23 02:05:33 +07:00
layout/floating: Fix resetting preset width idx instead of height
This commit is contained in:
@@ -790,7 +790,7 @@ impl<W: LayoutElement> FloatingSpace<W> {
|
|||||||
let idx = self.idx_of(id).unwrap();
|
let idx = self.idx_of(id).unwrap();
|
||||||
|
|
||||||
let tile = &mut self.tiles[idx];
|
let tile = &mut self.tiles[idx];
|
||||||
tile.floating_preset_width_idx = None;
|
tile.floating_preset_height_idx = None;
|
||||||
|
|
||||||
let available_size = self.working_area.size.h;
|
let available_size = self.working_area.size.h;
|
||||||
let win = tile.window();
|
let win = tile.window();
|
||||||
|
|||||||
Reference in New Issue
Block a user