aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-08-29 12:32:17 -0400
committerTony Crisci <tony@dubstepdish.com>2017-08-29 12:36:39 -0400
commitb6031d106525706db6eef03d2a500259357ecb69 (patch)
tree1c11846c5ee27a62ab717cf9fb9c0be05af7e1a5 /include
parent9b65d0b3f0030bf2103cd7d65448f727c62de468 (diff)
refactor wlr_output_layout_closest_point
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_output_layout.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/include/wlr/types/wlr_output_layout.h b/include/wlr/types/wlr_output_layout.h
index 794fc491..b1253eb1 100644
--- a/include/wlr/types/wlr_output_layout.h
+++ b/include/wlr/types/wlr_output_layout.h
@@ -53,11 +53,10 @@ bool wlr_output_layout_intersects(struct wlr_output_layout *layout,
struct wlr_output *reference, int x1, int y1, int x2, int y2);
/**
- * Get the closest boundary point of this layout from the given point from the
- * reference output. If reference is NULL, gets the closest boundary point from
- * the entire layout.
+ * Get the closest point on this layout from the given point from the reference
+ * output. If reference is NULL, gets the closest point from the entire layout.
*/
-void wlr_output_layout_closest_boundary(struct wlr_output_layout *layout,
+void wlr_output_layout_closest_point(struct wlr_output_layout *layout,
struct wlr_output *reference, double x, double y, double *dest_x,
double *dest_y);