Merge branch 'example-descriptions' into 'master'

Draft: examples: add descriptions to missing files

See merge request wlroots/wlroots!4931
This commit is contained in:
Simon Ser 2025-03-10 16:25:56 +00:00
commit 9e8177926f
9 changed files with 48 additions and 19 deletions

View file

@ -1,3 +1,7 @@
/* Simple scene-graph example with a custom buffer drawn by Cairo.
*
* Input is unimplemented. Surfaces are unimplemented.
*/
#include <stdbool.h>
#include <stdlib.h>
@ -13,10 +17,6 @@
#include <wlr/util/log.h>
#include <wlr/interfaces/wlr_buffer.h>
/* Simple scene-graph example with a custom buffer drawn by Cairo.
*
* Input is unimplemented. Surfaces are unimplemented. */
struct cairo_buffer {
struct wlr_buffer base;
cairo_surface_t *surface;