File tree Expand file tree Collapse file tree 2 files changed +19
-1
lines changed
Expand file tree Collapse file tree 2 files changed +19
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Patches in the `patches` directory should be re-applied after updates.
3131## libdecor
3232
3333- Upstream: https://gitlab.freedesktop.org/libdecor/libdecor/
34- - Version: 0.1.1
34+ - Version: 0.2.2
3535- License: MIT
3636
3737
Original file line number Diff line number Diff line change 11/*
22 * Copyright © 2017-2018 Red Hat Inc.
33 * Copyright © 2018 Jonas Ådahl
4+ * Copyright © 2019 Christian Rauch
45 *
56 * Permission is hereby granted, free of charge, to any person obtaining
67 * a copy of this software and associated documentation files (the
@@ -80,6 +81,7 @@ enum libdecor_window_state {
8081 LIBDECOR_WINDOW_STATE_TILED_RIGHT = 1 << 4 ,
8182 LIBDECOR_WINDOW_STATE_TILED_TOP = 1 << 5 ,
8283 LIBDECOR_WINDOW_STATE_TILED_BOTTOM = 1 << 6 ,
84+ LIBDECOR_WINDOW_STATE_SUSPENDED = 1 << 7 ,
8385};
8486
8587enum libdecor_resize_edge {
@@ -366,6 +368,22 @@ libdecor_frame_set_max_content_size(struct libdecor_frame *frame,
366368 int content_width ,
367369 int content_height );
368370
371+ /**
372+ * Get the min content size.
373+ */
374+ void
375+ libdecor_frame_get_min_content_size (const struct libdecor_frame * frame ,
376+ int * content_width ,
377+ int * content_height );
378+
379+ /**
380+ * Get the max content size.
381+ */
382+ void
383+ libdecor_frame_get_max_content_size (const struct libdecor_frame * frame ,
384+ int * content_width ,
385+ int * content_height );
386+
369387/**
370388 * Initiate an interactive resize.
371389 *
You can’t perform that action at this time.
0 commit comments