From d9fa2c6082da533555c3655a4808622fa7c9fd11 Mon Sep 17 00:00:00 2001 From: ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> Date: Fri, 28 Jul 2023 15:27:38 +0200 Subject: Wayland.dox: add info about the xdg decoration protocol Also, use KWin to name the KDE desktop's Wayland compositor. --- documentation/src/osissues.dox | 7 ++++--- documentation/src/wayland.dox | 17 ++++++++++++----- 2 files changed, 16 insertions(+), 8 deletions(-) (limited to 'documentation') diff --git a/documentation/src/osissues.dox b/documentation/src/osissues.dox index 998a8a54d..042d8ba31 100644 --- a/documentation/src/osissues.dox +++ b/documentation/src/osissues.dox @@ -1069,10 +1069,11 @@ or in $HOME/.local/share/applications/ so it's available to a single us \subsection osissues_wayland_decoration Window titlebars Wayland supports both client-side window decoration (CSD), where client applications are responsible for drawing window titlebars, and server-side window -decoration (SSD), where the Wayland compositor itself draws window titlebars. Among 3 +decoration (SSD), where the Wayland compositor itself draws window titlebars. Among 4 tested Wayland compositors, Mutter (gnome's compositor) and Weston use CSD mode -whereas the KDE compositor uses SSD mode. When running in CSD mode, FLTK uses a library called -libdecor to draw titlebars. +whereas the KWin and Sway compositors use SSD mode. +When running in CSD mode, FLTK uses a library +called libdecor to draw titlebars. The libdecor library has been conceived to use various plug-in's to draw titlebars in various fashions intended to match any desktop's preferred titlebar style. FLTK supports drawing titlebars with any libdecor plug-in via an environment variable diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index e1a921f70..16f71eb41 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -280,7 +280,7 @@ accessible from this object. For example, when \c interface equals "wl_compositor", the value returned by \c wl_registry_bind() is stored as member \c wl_compositor of the \c Fl_Wayland_Screen_Driver object. -\c registry_handle_global() also identifies whether the Mutter, Weston, or KDE compositor is connected +\c registry_handle_global() also identifies whether the Mutter, Weston, or KWin compositor is connected and stores this information in static member variable \c Fl_Wayland_Screen_Driver::compositor. Wayland calls \c registry_handle_global() with its parameter \c interface equals to @@ -726,7 +726,7 @@ is unmapped by function \c Fl_Wayland_Window_Driver::hide(), the surface's list is emptied.