From 68da777920b736119f640934b90e0b618226b47e Mon Sep 17 00:00:00 2001 From: Sebastian Ramacher Date: Thu, 12 Mar 2020 21:38:03 +0100 Subject: [PATCH] Add documentation --- zathura/utils.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/zathura/utils.h b/zathura/utils.h index d8df39a..e1da74b 100644 --- a/zathura/utils.h +++ b/zathura/utils.h @@ -107,7 +107,6 @@ GdkAtom* get_selection(zathura_t* zathura); double zathura_correct_zoom_value(girara_session_t* session, const double zoom); - /** * Extracts the column the first page should be rendered in from the specified * list of settings corresponding to the specified pages per row @@ -137,6 +136,13 @@ bool parse_color(GdkRGBA* color, const char* str); */ bool running_under_wsl(void); -#endif // UTILS_H - +/** + * Flatten list of overlapping rectangles. + * + * @param[in] rectangles A list of rectangles + * + * @return List of rectangles + */ girara_list_t* flatten_rectangles(girara_list_t* rectangles); + +#endif // UTILS_H