Skip to content
Commit 39cea49a authored by Natalie Clarius's avatar Natalie Clarius 💬 Committed by Vlad Zahorodnii
Browse files

placement: don't cascade for the sake of windows that are already covered

When checking for overlap with other windows when placing a new window and cascading to avoid complete overlap, ignore those windows that are already covered by other windows further on the top anyway.

The computation of the covered area is not entirely accurate as it uses the bounding rect rather than the combined rects of the windows, but okay enough for our use case imo.

BUG: 466135
parent a2bf5900
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment