Update bundled libdecor to last upstream version (9 mar 2025)
Some checks failed
Build and Test / build-linux (push) Has been cancelled
Build and Test / build-wayland (push) Has been cancelled
Build and Test / build-macos (push) Has been cancelled
Build and Test / build-windows (push) Has been cancelled

This commit is contained in:
ManoloFLTK
2025-03-19 15:20:48 +01:00
parent 1ccafa83b2
commit 4b7cea676b
2 changed files with 4 additions and 3 deletions

View File

@@ -23,14 +23,14 @@ The nanosvg library is not affected.
\section bundled-status Current status
\code
Current versions of bundled libraries (as of March 9, 2025):
Current versions of bundled libraries (as of March 19, 2025):
Library Version/git commit Release date FLTK Version
--------------------------------------------------------------------------
jpeg jpeg-9f 2024-01-14 1.4.0
nanosvg 7aeda550a8 [1] 2023-12-02 1.4.0
png libpng-1.6.44 2024-09-12 1.4.1
zlib zlib-1.3.1 2024-01-22 1.4.0
libdecor 2d5d80ab [2] 2025-03-06 1.5.0
libdecor 8cbf2e89 [2] 2025-03-09 1.5.0
--------------------------------------------------------------------------
Previous versions of bundled libraries (FLTK 1.3.x):

View File

@@ -759,7 +759,8 @@ redraw_scale(struct libdecor_frame_gtk *frame_gtk,
}
if (scale != cmpnt->scale) {
cmpnt->scale = scale;
if ((cmpnt->type != SHADOW) || is_border_surfaces_showing(frame_gtk)) {
if ((frame_gtk->decoration_type != DECORATION_TYPE_NONE) &&
((cmpnt->type != SHADOW) || is_border_surfaces_showing(frame_gtk))) {
draw_border_component(frame_gtk, cmpnt, cmpnt->type);
return true;
}