mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
Add initial layer shell skeleton
This commit is contained in:
parent
9070950eec
commit
0c8a64942e
9 changed files with 192 additions and 16 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue