aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-11 16:17:44 +0100
committerSimon Ser <contact@emersion.fr>2022-11-24 21:55:24 +0000
commit359df5ef84b7259a5fc82a0adf3aae551245fc15 (patch)
treebbbd32eb90c3cb862d50daef5eda4af84e3d4679 /include
parentd47016abb20ef82b5bc1cc287bfdb61ae1c18101 (diff)
compsitor: document wlr_compositor_create()
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_compositor.h4
1 files changed, 4 insertions, 0 deletions
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);