summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c38
1 files changed, 38 insertions, 0 deletions
diff --git a/main.c b/main.c
new file mode 100644
index 0000000..7a2846b
--- /dev/null
+++ b/main.c
@@ -0,0 +1,38 @@
+/* Some principles:
+ *
+ * - We can only deal with one screen (but know about monitors)
+ *
+ * - We don't reparent
+ *
+ * - Compositing manager only
+ *
+ * - XRender, not OpenGL
+ *
+ * - There is no theming
+ *
+ * - There is very little configuation
+ */
+#include <stdlib.h>
+#include <X11/Xlib.h>
+
+typedef struct ocm_screen_t ocm_screen_t;
+typedef struct ocm_app_t ocm_app_t;
+
+struct ocm_app_t
+{
+ Display *dpy;
+};
+
+static ocm_app_t *
+ocm_app_new (int argc, char **argv)
+{
+ ocm_app_t *app = malloc (sizeof (*app));
+
+}
+
+
+int
+main (int argc, char **argv)
+{
+
+}