tiling: Don't store trees for outputs, but for indices

This commit is contained in:
Victoria Brekenfeld 2022-03-31 13:44:16 +02:00
parent 91863adcf1
commit 3bc58ec02a
7 changed files with 283 additions and 291 deletions

View file

@ -26,7 +26,7 @@ impl Layout for FloatingLayout {
seat: &Seat,
_focus_stack: Box<dyn Iterator<Item = &'a Window> + 'a>,
) {
let output = super::output_from_seat(seat, space);
let output = super::output_from_seat(Some(seat), space);
let win_geo = window.bbox();
let layers = layer_map_for_output(&output);
let geometry = layers.non_exclusive_zone();