Start Cage 0.2 rewrite

This commit is contained in:
Jente Hidskes 2020-06-30 20:38:44 +02:00
parent d097393732
commit 248f4847df
No known key found for this signature in database
GPG key ID: 04BE5A29F32D91EA
5 changed files with 577 additions and 25 deletions

18
serverng.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef CG_SERVER_H
#define CG_SERVER_H
#include <wayland-server-core.h>
#include <wlr/types/wlr_output_layout.h>
#include "desktop/output.h"
struct cg_server {
struct wl_display *wl_display;
/* Includes disabled outputs. */
struct wl_list outputs; // cg_output::link
struct wlr_output_layout *output_layout;
struct wl_listener new_output;
};
#endif