examples: add descriptions to missing files

While at it, move all descriptions to the top of the file.
This commit is contained in:
Simon Ser 2024-11-28 20:04:15 +01:00
parent c0d4d7217b
commit 80ef27c1b7
9 changed files with 48 additions and 19 deletions

View file

@ -1,3 +1,11 @@
/* Simple compositor making use of the output layers API. The compositor will
* attempt to display client surfaces with output layers. Input is
* unimplemented.
*
* New surfaces are stacked on top of the existing ones as they appear.
* Surfaces that don't make it into an output layer are rendered as usual.
*/
#include <getopt.h>
#include <stdbool.h>
#include <stdio.h>
@ -16,13 +24,6 @@
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
/* Simple compositor making use of the output layers API. The compositor will
* attempt to display client surfaces with output layers. Input is
* unimplemented.
*
* New surfaces are stacked on top of the existing ones as they appear.
* Surfaces that don't make it into an output layer are rendered as usual. */
struct server {
struct wl_display *wl_display;
struct wlr_backend *backend;