aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/wlr/util/box.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/wlr/util/box.h b/include/wlr/util/box.h
index 84df50a6..e866b1df 100644
--- a/include/wlr/util/box.h
+++ b/include/wlr/util/box.h
@@ -41,6 +41,11 @@ struct wlr_fbox {
};
/**
+ * Functions below accept NULL where a box is expected, which is treated
+ * the same as an empty box.
+ */
+
+/**
* Finds the closest point within the box bounds.
*
* Returns NAN if the box is empty.