summaryrefslogtreecommitdiff
path: root/libdecor/src/libdecor.h
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-27 10:58:23 +0200
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2022-05-27 10:58:23 +0200
commit5afd0bb44aa3fff79fd7825e9ac97f991d3d1f39 (patch)
tree74c293e5e43e5422fe193b02d9766b1cf40bb570 /libdecor/src/libdecor.h
parentb78035624d5135f27b9742249652f124411f90a9 (diff)
libdecor: pull upstream changes (a382710b on 28 apr 2022).
Diffstat (limited to 'libdecor/src/libdecor.h')
-rw-r--r--libdecor/src/libdecor.h28
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().