Skip to content

add wlr_output_layout_adjacent_output

Simon Ser requested to merge github/fork/acrisci/output-layout-adjacent into master

Created by: acrisci

This function is for determining the adjacent output to another output, like we have to do with sway in some places.

The output extents must be entirely within the direction from the corresponding border of the reference output to be considered. This function then picks the closest output to the reference point.

TODO:

  • test the function

Merge request reports