diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 38 |
1 files changed, 38 insertions, 0 deletions
@@ -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) +{ + +} |