|
|
|
@ -65,8 +65,8 @@ struct wlr_output_layout_output *wlr_output_layout_get(
|
|
|
|
|
* Get the output at the specified layout coordinates. Returns NULL if no
|
|
|
|
|
* output matches the coordinates.
|
|
|
|
|
*/
|
|
|
|
|
struct wlr_output *wlr_output_layout_output_at(struct wlr_output_layout *layout,
|
|
|
|
|
double lx, double ly);
|
|
|
|
|
struct wlr_output *wlr_output_layout_output_at(
|
|
|
|
|
struct wlr_output_layout *layout, double lx, double ly);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Add the output to the layout at the specified coordinates. If the output is
|
|
|
|
@ -99,8 +99,8 @@ bool wlr_output_layout_intersects(struct wlr_output_layout *layout,
|
|
|
|
|
* output. If reference is NULL, gets the closest point from the entire layout.
|
|
|
|
|
*/
|
|
|
|
|
void wlr_output_layout_closest_point(struct wlr_output_layout *layout,
|
|
|
|
|
struct wlr_output *reference, double lx, double ly, double *dest_lx,
|
|
|
|
|
double *dest_ly);
|
|
|
|
|
struct wlr_output *reference, double lx, double ly,
|
|
|
|
|
double *dest_lx, double *dest_ly);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Get the box of the layout for the given reference output in layout
|
|
|
|
|