diff options
Diffstat (limited to 'src/scapx.h')
-rw-r--r-- | src/scapx.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/scapx.h b/src/scapx.h new file mode 100644 index 0000000..0615e47 --- /dev/null +++ b/src/scapx.h @@ -0,0 +1,17 @@ +#ifndef SCAPX_H +#define SCAPX_H + +#include <stdio.h> +#include <stdlib.h> +#include <xcb/xcb.h> + +typedef struct { + xcb_connection_t *con; + xcb_screen_t *scr; +} Scr_info; + + +/* Connects to the X Server, and accesses the screen */ +Scr_info *init_XCB_server(); + +#endif |