wayland: Add documentation to wayland_shell_init

Especially preventing the confusion that it might only initalize the
wl_shell interface.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/871
This commit is contained in:
Niels De Graef 2019-10-21 13:31:25 +02:00
parent 404e713227
commit 5c986060f0

View File

@ -1467,6 +1467,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)
{