From e4f18c6e3ca2ea1c49c8e834fae329229c461914 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sat, 27 Apr 2024 07:27:57 +0200 Subject: Documentation: bundled libdecor symbols are pefixed by "fl_" --- documentation/src/wayland.dox | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'documentation/src') diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 3990556b8..67a5e1db0 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -1111,9 +1111,12 @@ Desktop. As of late 2023, libdecor contains two titlebar-drawing plugins: On recent Linux distributions, FLTK uses the system \c libdecor shared library available via packages \c libdecor-0-dev and \c libdecor-0-plugin-1-gtk. On earlier Linux versions, or if CMake option \c FLTK_USE_SYSTEM_LIBDECOR is set -to OFF, FLTK bundles the most recent source code of \c libdecor and its plugins. This code -is included in libfltk. FLTK uses \c libdecor-gtk when software package \c libgtk-3-dev +to OFF, FLTK bundles the most recent source code of \c libdecor and its plugins. +The libdecor code bundled inside FLTK is compiled and put in libfltk. +FLTK uses \c libdecor-gtk when software package \c libgtk-3-dev is present in the build system, and \c libdecor-cairo otherwise. +FLTK prefixes all symbols of its bundled libdecor with "fl_". This allows an FLTK client app +to link to other libraries which may use the system version of libdecor. \c Libdecor uses the Wayland protocol XDG decoration -- cgit v1.2.3