Establish rootston headers & main

This commit is contained in:
Drew DeVault 2017-09-22 20:24:32 -04:00
parent 06ae9e7c9f
commit 550748681d
11 changed files with 826 additions and 0 deletions

14
rootston/main.c Normal file
View file

@ -0,0 +1,14 @@
#include <wayland-server.h>
#include <wlr/util/log.h>
#include "rootston/config.h"
#include "rootston/server.h"
struct rootston root = { 0 };
int main(int argc, char **argv) {
root.config = parse_args(argc, argv);
root.wl_display = wl_display_create();
root.wl_event_loop = wl_display_get_event_loop(root.wl_display);
wl_display_init_shm(root.wl_display);
return 0;
}