tiling: Align root level windows with root-level group windows

Fixes #119.
This commit is contained in:
Victoria Brekenfeld 2023-05-25 14:52:09 +02:00
parent 8201ba023d
commit 8255331142

View file

@ -1749,7 +1749,11 @@ where
)
.into(),
);
}
if is_potential_group
|| node.parent().map(|parent| parent == root).unwrap_or(false)
{
geo.loc += (gap, gap).into();
geo.size -= (gap * 2, gap * 2).into();
}