mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
introduce wlr_output_layout_farthest_output
Similar to wlr_output_layout_adjacent_output but will return the one that is the farthest away from the reference in given direction.
This commit is contained in:
parent
d7c027d3e3
commit
5617d2bd60
2 changed files with 30 additions and 4 deletions
|
|
@ -126,5 +126,8 @@ enum wlr_direction {
|
|||
struct wlr_output *wlr_output_layout_adjacent_output(
|
||||
struct wlr_output_layout *layout, enum wlr_direction direction,
|
||||
struct wlr_output *reference, double ref_lx, double ref_ly);
|
||||
struct wlr_output *wlr_output_layout_farthest_output(
|
||||
struct wlr_output_layout *layout, enum wlr_direction direction,
|
||||
struct wlr_output *reference, double ref_lx, double ref_ly);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue