libdecor: Update to 0.2.2
This commit is contained in:
parent
907db8eebc
commit
d46d8b1b5a
|
@ -31,7 +31,7 @@ Patches in the `patches` directory should be re-applied after updates.
|
||||||
## libdecor
|
## libdecor
|
||||||
|
|
||||||
- Upstream: https://gitlab.freedesktop.org/libdecor/libdecor/
|
- Upstream: https://gitlab.freedesktop.org/libdecor/libdecor/
|
||||||
- Version: 0.1.1
|
- Version: 0.2.2
|
||||||
- License: MIT
|
- License: MIT
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* Copyright © 2017-2018 Red Hat Inc.
|
* Copyright © 2017-2018 Red Hat Inc.
|
||||||
* Copyright © 2018 Jonas Ådahl
|
* Copyright © 2018 Jonas Ådahl
|
||||||
|
* Copyright © 2019 Christian Rauch
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining
|
* Permission is hereby granted, free of charge, to any person obtaining
|
||||||
* a copy of this software and associated documentation files (the
|
* a copy of this software and associated documentation files (the
|
||||||
|
@ -80,6 +81,7 @@ enum libdecor_window_state {
|
||||||
LIBDECOR_WINDOW_STATE_TILED_RIGHT = 1 << 4,
|
LIBDECOR_WINDOW_STATE_TILED_RIGHT = 1 << 4,
|
||||||
LIBDECOR_WINDOW_STATE_TILED_TOP = 1 << 5,
|
LIBDECOR_WINDOW_STATE_TILED_TOP = 1 << 5,
|
||||||
LIBDECOR_WINDOW_STATE_TILED_BOTTOM = 1 << 6,
|
LIBDECOR_WINDOW_STATE_TILED_BOTTOM = 1 << 6,
|
||||||
|
LIBDECOR_WINDOW_STATE_SUSPENDED = 1 << 7,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum libdecor_resize_edge {
|
enum libdecor_resize_edge {
|
||||||
|
@ -366,6 +368,22 @@ libdecor_frame_set_max_content_size(struct libdecor_frame *frame,
|
||||||
int content_width,
|
int content_width,
|
||||||
int content_height);
|
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.
|
* Initiate an interactive resize.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue