From 4b7cea676b3dc6a133fdb02260c9d42205e56bf4 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Wed, 19 Mar 2025 15:20:48 +0100 Subject: Update bundled libdecor to last upstream version (9 mar 2025) --- documentation/src/bundled-libs.dox | 4 ++-- libdecor/src/plugins/gtk/libdecor-gtk.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/documentation/src/bundled-libs.dox b/documentation/src/bundled-libs.dox index 063a2895d..c300f4606 100644 --- a/documentation/src/bundled-libs.dox +++ b/documentation/src/bundled-libs.dox @@ -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): diff --git a/libdecor/src/plugins/gtk/libdecor-gtk.c b/libdecor/src/plugins/gtk/libdecor-gtk.c index 813b764e3..5f010958a 100644 --- a/libdecor/src/plugins/gtk/libdecor-gtk.c +++ b/libdecor/src/plugins/gtk/libdecor-gtk.c @@ -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; } -- cgit v1.2.3