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,8 @@
/* Simple compositor making use of the scene-graph API. Input is unimplemented.
*
* New surfaces are stacked on top of the existing ones as they appear.
*/
#include <assert.h>
#include <getopt.h>
#include <stdbool.h>
@ -15,10 +20,6 @@
#include <wlr/types/wlr_xdg_shell.h>
#include <wlr/util/log.h>
/* Simple compositor making use of the scene-graph API. Input is unimplemented.
*
* New surfaces are stacked on top of the existing ones as they appear. */
static const int border_width = 3;
struct server {