]> Pileus Git - wmpus/blobdiff - main.c
Fix struts with multi-monitors
[wmpus] / main.c
diff --git a/main.c b/main.c
index f93793e7f92c941701ae4615e0e098593bc0a7f9..2d81508de815cf6c2f26b8fe3b9fb033964907ef 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1,7 +1,15 @@
+#include <stdlib.h>
 #include <stdio.h>
 
+#include "util.h"
+#include "sys.h"
+#include "wm.h"
+
 int main(int argc, char **argv)
 {
-       printf("hello, world\n");
+       setbuf(stdout, NULL); // debug
+       win_t *root = sys_init();
+       wm_init(root);
+       sys_run(root);
        return 0;
 }