From 359df5ef84b7259a5fc82a0adf3aae551245fc15 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 11 Nov 2022 16:17:44 +0100 Subject: [PATCH] compsitor: document wlr_compositor_create() --- include/wlr/types/wlr_compositor.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h index 194c4e37..441a6bb5 100644 --- a/include/wlr/types/wlr_compositor.h +++ b/include/wlr/types/wlr_compositor.h @@ -302,6 +302,10 @@ uint32_t wlr_surface_lock_pending(struct wlr_surface *surface); */ void wlr_surface_unlock_cached(struct wlr_surface *surface, uint32_t seq); +/** + * Create the wl_compositor global, which can be used by clients to create + * surfaces and regions. + */ struct wlr_compositor *wlr_compositor_create(struct wl_display *display, struct wlr_renderer *renderer);