mirror of
https://github.com/YaLTeR/niri.git
synced 2025-10-06 00:23:14 +02: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 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 win = tile.window();
|
||||
|
Reference in New Issue
Block a user