diff --git a/documentation/src/wayland.dox b/documentation/src/wayland.dox index 04d625b90..4a62be3f9 100644 --- a/documentation/src/wayland.dox +++ b/documentation/src/wayland.dox @@ -314,26 +314,29 @@ The prototype of function \c registry_handle_global is: static void registry_handle_global(void *user_data, struct wl_registry *wl_registry, uint32_t id, const char *interface, uint32_t version) \endcode + Each time Wayland calls \c registry_handle_global(), \c interface and \c version give the name and version of a component or feature of the Wayland system. Here is the list of the \c interface value for all protocols and system features relevant for FLTK: -
| Interface | How FLTK uses this interface |
|---|---|
| wl_compositor | create wl_surface objects |
| wl_subcompositor | create subwindows |
| wl_shm | create shared memory pools and buffers |
| wl_seat | create the unique "seat" |
| wl_data_device | support of copy/paste/drag-n-drop |
| wl_output | received once for each display |
| xdg_wm_base | create mapped windows |
| xdg_wm_dialog_v1 | create dialogs related to other windows |
| wp_cursor_shape_manager_v1 | set cursor images using enumerated cursors |
| gtk_shell1 | indicates Mutter is in use + titlebar gestures |
| weston_desktop_shell | indicates Weston is in use |
| org_kde_plasma_shell | indicates KDE/Plasma is in use |
| zwp_text_input_manager_v3 | interface with Text Input Methods |
| zxdg_decoration_manager_v1 | select between CSD and SSD modes |