summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-03-09 13:27:49 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2025-03-09 13:28:08 +0100
commitb09d09e3c5bed3f19feda37d2d1f06c4f4634f84 (patch)
tree98ceb1c6f7bcbd15aa91cf37eedeca9faade4cdc
parentc2bc59f6106c36d4ace66de3f898279c15feaf60 (diff)
Update bundled libdecor to last upstream version (6 mar 2025)
-rw-r--r--documentation/src/bundled-libs.dox4
-rw-r--r--libdecor/src/libdecor.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/documentation/src/bundled-libs.dox b/documentation/src/bundled-libs.dox
index 8ec6d02eb..063a2895d 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 February 14, 2025):
+Current versions of bundled libraries (as of March 9, 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 f7cd7ffd [2] 2025-01-21 1.4.2
+ libdecor 2d5d80ab [2] 2025-03-06 1.5.0
--------------------------------------------------------------------------
Previous versions of bundled libraries (FLTK 1.3.x):
diff --git a/libdecor/src/libdecor.c b/libdecor/src/libdecor.c
index 75033afec..92d4f46e5 100644
--- a/libdecor/src/libdecor.c
+++ b/libdecor/src/libdecor.c
@@ -739,10 +739,10 @@ libdecor_frame_set_parent(struct libdecor_frame *frame,
if (!frame_priv->xdg_toplevel)
return;
- frame_priv->state.parent = parent->priv->xdg_toplevel;
+ frame_priv->state.parent = parent ? parent->priv->xdg_toplevel : NULL;
xdg_toplevel_set_parent(frame_priv->xdg_toplevel,
- parent->priv->xdg_toplevel);
+ frame_priv->state.parent);
}
LIBDECOR_EXPORT void