From c4f8de44c2244b9d79e8c7a0d354867f70377469 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Sun, 23 Jul 2023 17:08:40 +0200 Subject: Wayland: add info about CSD and SSD modes and LIBDECOR_FORCE_CSD --- README.Wayland.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.Wayland.txt b/README.Wayland.txt index 5b714c707..488223b43 100644 --- a/README.Wayland.txt +++ b/README.Wayland.txt @@ -79,6 +79,11 @@ The FLTK Wayland platform uses a library called libdecor which handles window de this form of libdecor. CMake OPTION_USE_SYSTEM_LIBDECOR can be turned on to have FLTK use the system's version of libdecor which is available on recent Linux distributions (e.g., Debian Bookworm or more recent in packages libdecor-0-0 and libdecor-0-plugin-1-cairo). +FLTK equipped with libdecor supports both the client-side decoration mode (CSD) and the +server-side decoration mode (SSD) as determined by the active Wayland compositor. +Mutter (gnome's Wayland compositor) and Weston use CSD mode, KWin and Sway use SSD mode. +Furthermore, setting environment variable LIBDECOR_FORCE_CSD to 1 will make FLTK use CSD +mode even if the compositor would have selected SSD mode. 2.2 Known Limitations ---------------------- -- cgit v1.2.3