layout/floating: Fix resetting preset width idx instead of height
Browse files at this commitdfe463ed7dcf36cc706f5540c5d0804775b5c86bParent: 0c3223a1 changed file +1 -1
- src/layout/floating.rs +1 -1
src/layout/floating.rsmodified+1 -1
| @@ -790,7 +790,7 @@ impl<W: LayoutElement> FloatingSpace<W> { | |||
| 790 | let idx = self.idx_of(id).unwrap(); | 790 | let idx = self.idx_of(id).unwrap(); |
| 791 | 791 | ||
| 792 | let tile = &mut self.tiles[idx]; | 792 | let tile = &mut self.tiles[idx]; |
| 793 | - tile.floating_preset_width_idx = None; | 793 | + tile.floating_preset_height_idx = None; |
| 794 | 794 | ||
| 795 | let available_size = self.working_area.size.h; | 795 | let available_size = self.working_area.size.h; |
| 796 | let win = tile.window(); | 796 | let win = tile.window(); |