diff options
Diffstat (limited to 'libdecor/src/libdecor.h')
| -rw-r--r-- | libdecor/src/libdecor.h | 28 |
1 files changed, 22 insertions, 6 deletions
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,26 +347,42 @@ 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. * * This roughly translates to xdg_toplevel_resize(). |
