[mutter/wip/nielsdg/add-wayland-buf-docs: 3/3] wayland: Add documentation to wayland_shell_init



commit fe42942bbe136212b5a55a2927cdeb46db139c56
Author: Niels De Graef <niels degraef barco com>
Date:   Mon Oct 21 13:31:25 2019 +0200

    wayland: Add documentation to wayland_shell_init
    
    Especially preventing the confusion that it might only initalize the
    wl_shell interface.

 src/wayland/meta-wayland-surface.c | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index e10467502..b6803fb90 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -1478,6 +1478,13 @@ meta_wayland_surface_begin_grab_op (MetaWaylandSurface *surface,
                                      x, y);
 }
 
+/**
+ * meta_wayland_shell_init:
+ * @compositor: The #MetaWaylandCompositor object
+ *
+ * Initializes the Wayland interfaces providing features that deal with
+ * desktop-specific conundrums, like XDG shell, wl_shell (deprecated), etc.
+ */
 void
 meta_wayland_shell_init (MetaWaylandCompositor *compositor)
 {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]