From e6957fc2f52d75d4de0e91df0729156d9ccfb5b0 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Thu, 18 Apr 2024 19:32:47 +0200 Subject: =?UTF-8?q?Allow=20libdecor=20package=20version=20=E2=89=A5=200.2.?= =?UTF-8?q?0=20with=20FLTK=5FUSE=5FSYSTEM=5FLIBDECOR?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- documentation/src/wayland.dox | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'documentation') diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 8af4555de..3990556b8 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -1108,16 +1108,13 @@ Desktop. As of late 2023, libdecor contains two titlebar-drawing plugins: - \c libdecor-gtk intended for the Gnome desktop; - \c libdecor-cairo for other situations. -Because \c libdecor is not yet in major Linux packages, or only at version 0.1.x, -FLTK bundles the most recent source code of \c libdecor and its plugins. This code +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 is present in the build system, and \c libdecor-cairo otherwise. -As of early 2024, libdecor version 0.2.2 is available in very recent Linux distributions. -This version is not binary compatible with the libdecor version bundled by FLTK. -For this reason, CMake option \c FLTK_USE_SYSTEM_LIBDECOR is OFF by default, and -FLTK uses the bundled \c libdecor copy to draw titlebars. - \c Libdecor uses the Wayland protocol XDG decoration to request being decorated by a supporting compositor. -- cgit v1.2.3