Skip to content

Commit a9bb850

Browse files
authored
Merge pull request godotengine#88374 from Riteo/libdecor-0.2.2
libdecor: Update to 0.2.2
2 parents 6f805de + d46d8b1 commit a9bb850

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

thirdparty/linuxbsd_headers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

thirdparty/linuxbsd_headers/libdecor-0/libdecor.h

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
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

8587
enum 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
*

0 commit comments

Comments
 (0)