diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-29 08:32:34 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-08-29 09:13:52 +0300 |
| commit | dfe463ed7dcf36cc706f5540c5d0804775b5c86b (patch) | |
| tree | 214581482a0f71afd5b7904aab1d9646a6b87004 /src/layout | |
| parent | 0c3223ac72f3bee35c954764c2012f0d495deeb0 (diff) | |
| download | niri-dfe463ed7dcf36cc706f5540c5d0804775b5c86b.tar.gz niri-dfe463ed7dcf36cc706f5540c5d0804775b5c86b.tar.bz2 niri-dfe463ed7dcf36cc706f5540c5d0804775b5c86b.zip | |
layout/floating: Fix resetting preset width idx instead of height
Diffstat (limited to 'src/layout')
| -rw-r--r-- | src/layout/floating.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout/floating.rs b/src/layout/floating.rs index ad67c5ff..4a5251ca 100644 --- a/src/layout/floating.rs +++ b/src/layout/floating.rs @@ -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(); |
