aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-08-15 06:04:42 -0400
committerAlexander Orzechowski <orzechowski.alexander@gmail.com>2022-08-15 06:14:59 -0400
commit1d08ef234e6fcb6cdd2ca128f0259497aaaaddf8 (patch)
tree44be667238b12388031c79d6857248952671dd45 /include/wlr
parent9f3bd64a332c1bacee57d394bdaf0b4d06153ab0 (diff)
util/box: Introduce wlr_fbox_equal
Diffstat (limited to 'include/wlr')
-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 e01b351e..84df50a6 100644
--- a/include/wlr/util/box.h
+++ b/include/wlr/util/box.h
@@ -99,6 +99,11 @@ void wlr_fbox_transform(struct wlr_fbox *dest, const struct wlr_fbox *box,
*/
bool wlr_box_equal(const struct wlr_box *a, const struct wlr_box *b);
+/**
+ * Returns true if the two boxes are equal, false otherwise.
+ */
+bool wlr_fbox_equal(const struct wlr_fbox *a, const struct wlr_fbox *b);
+
#endif
#endif