From 5afd0bb44aa3fff79fd7825e9ac97f991d3d1f39 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 27 May 2022 10:58:23 +0200 Subject: libdecor: pull upstream changes (a382710b on 28 apr 2022). --- libdecor/src/libdecor.h | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) (limited to 'libdecor/src/libdecor.h') diff --git a/libdecor/src/libdecor.h b/libdecor/src/libdecor.h index 214a10c4e..d3ccea181 100644 --- a/libdecor/src/libdecor.h +++ b/libdecor/src/libdecor.h @@ -347,25 +347,41 @@ libdecor_frame_translate_coordinate(struct libdecor_frame *frame, int *frame_y); /** - * Set the max content size. + * Set the min content size. * - * This translates roughly to xdg_toplevel_set_max_size(). + * This translates roughly to xdg_toplevel_set_min_size(). */ void -libdecor_frame_set_max_content_size(struct libdecor_frame *frame, +libdecor_frame_set_min_content_size(struct libdecor_frame *frame, int content_width, int content_height); /** - * Set the min content size. + * Set the max content size. * - * This translates roughly to xdg_toplevel_set_min_size(). + * This translates roughly to xdg_toplevel_set_max_size(). */ void -libdecor_frame_set_min_content_size(struct libdecor_frame *frame, +libdecor_frame_set_max_content_size(struct libdecor_frame *frame, int content_width, int content_height); +/** + * Get the min content size. + */ +void +libdecor_frame_get_min_content_size(const struct libdecor_frame *frame, + int *content_width, + int *content_height); + +/** + * Get the max content size. + */ +void +libdecor_frame_get_max_content_size(const struct libdecor_frame *frame, + int *content_width, + int *content_height); + /** * Initiate an interactive resize. * -- cgit v1.2.3