Add initial layer shell skeleton

This commit is contained in:
Drew DeVault 2018-03-28 15:47:22 -04:00
parent 9070950eec
commit 0c8a64942e
9 changed files with 192 additions and 16 deletions

View file

@ -2,6 +2,7 @@
#define _SWAY_OUTPUT_H
#include <time.h>
#include <wayland-server.h>
#include <wlr/types/wlr_box.h>
#include <wlr/types/wlr_output.h>
struct sway_server;
@ -13,6 +14,9 @@ struct sway_output {
struct sway_server *server;
struct timespec last_frame;
struct wl_list layers[4]; // sway_layer_surface::link
struct wlr_box usable_area;
struct wl_listener frame;
struct wl_listener output_destroy;
};