aboutsummaryrefslogtreecommitdiff
path: root/comet.c
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-02 19:57:11 +0100
committerFederico Angelilli <code@fedang.net>2023-11-02 19:57:11 +0100
commitc2ef5b291c1ef9120ac9d5c29b378317ab189212 (patch)
tree94df5b189fd1e6a01413271c458eeeda48108e09 /comet.c
parent6c7cdd7ccaea3873b84d5e2def15984bfeaf9da0 (diff)
Add basic x11 and drawing scaffolding
Diffstat (limited to 'comet.c')
-rw-r--r--comet.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/comet.c b/comet.c
new file mode 100644
index 0000000..dc3f530
--- /dev/null
+++ b/comet.c
@@ -0,0 +1,18 @@
+#include <glib.h>
+#include <glib-unix.h>
+
+#include "x11.h"
+#include "draw.h"
+
+int main(int argc, char **argv)
+{
+ Window *win = window_create();
+
+ draw(win);
+ sleep(10);
+
+ window_destroy(win);
+ return 0;
+}
+
+// vim: set ts=4 sw=4 et