diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-04-18 19:32:47 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2024-04-18 19:32:47 +0200 |
| commit | e6957fc2f52d75d4de0e91df0729156d9ccfb5b0 (patch) | |
| tree | f7f7174dfd5a571f95314116437cec2cbd61d1a0 /documentation/src/wayland.dox | |
| parent | 3fc8875756c3ce02b1b45bd0383a0c307c442dde (diff) | |
Allow libdecor package version ≥ 0.2.0 with FLTK_USE_SYSTEM_LIBDECOR
Diffstat (limited to 'documentation/src/wayland.dox')
| -rw-r--r-- | documentation/src/wayland.dox | 11 |
1 files changed, 4 insertions, 7 deletions
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 <a href=https://wayland.app/protocols/xdg-decoration-unstable-v1>XDG decoration</a> to request being decorated by a supporting compositor. |
