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_" --- README.Wayland.txt | 4 ++-- documentation/src/wayland.dox | 7 +++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/README.Wayland.txt b/README.Wayland.txt index b88184468..e27f37c90 100644 --- a/README.Wayland.txt +++ b/README.Wayland.txt @@ -160,8 +160,8 @@ the app had the focus. * Narrow windows with a titlebar are silently forced to be wide enough for the titlebar to display window buttons and a few letters of the title. -* Text input methods have been tested without any understanding of the writing systems, -so feedback on this subject would be helpful. +* Text input methods are known to work well for Chinese and Japanese. +Feedback for other writing systems would be helpful. * Using OpenGL inside Wayland windows doesn't seem to work on RaspberryPi hardware, although it works inside X11 windows on the same hardware. 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