mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-08-27 14:13:59 +02:00
Cross-boundary focus arrival picked the structural leftmost/rightmost container, ignoring layout_flip. Since layout_flip mirrors geometry without reordering containers, focusing into a horizontally-flipped workspace landed on the far edge instead of the container at the edge the user crossed toward, while intra-workspace focus (via OperationDirection::destination) already accounts for the flip. Extract OperationDirection::cross_boundary_edge_index, which picks the edge index against the flipped direction like destination() does, and use it at the eight focus-arrival call sites. Add a komorebi-layouts test that checks the pick against the rendered rectangles.