From 1d08ef234e6fcb6cdd2ca128f0259497aaaaddf8 Mon Sep 17 00:00:00 2001 From: Alexander Orzechowski Date: Mon, 15 Aug 2022 06:04:42 -0400 Subject: util/box: Introduce wlr_fbox_equal --- include/wlr/util/box.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/wlr') 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 -- cgit v1.2.3