X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=main.c;h=def49f1e85e27d19d9f0668e61b8830cb4060e1a;hb=d28df0d848dc7e30f2df67518a251b52981a1093;hp=119005e346957bbac926d42fdb3fca157cddcf7e;hpb=a6f2be4a52a3dd478c0640714c5be9c5cf87c64e;p=wmpus diff --git a/main.c b/main.c index 119005e..def49f1 100644 --- a/main.c +++ b/main.c @@ -17,14 +17,20 @@ #include #include "util.h" +#include "conf.h" #include "sys.h" #include "wm.h" int main(int argc, char **argv) { setbuf(stdout, NULL); // debug + conf_init(argc, argv); win_t *root = sys_init(); wm_init(root); + sys_run(root); + + wm_free(root); + sys_free(root); return 0; }