summaryrefslogtreecommitdiff
path: root/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init.c')
-rw-r--r--init.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/init.c b/init.c
index 29d232b..d880ad1 100644
--- a/init.c
+++ b/init.c
@@ -12,6 +12,11 @@
#include <string.h>
#include "config.h"
#include <stdlib.h>
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+#include <X11/Xatom.h>
+#include <X11/Xmu/CurUtil.h>
+#include <X11/Xcursor/Xcursor.h>
#define debug(x) printf("%s\n", x)
#define IBUF_LEN (10 * (sizeof(struct inotify_event) + strlen(BAT0_DIR) + 1))
@@ -24,6 +29,14 @@ struct gc_data {
off_t file_sz;
};
+struct xorg_data {
+ Display *dpy;
+ int screen;
+ Window root;
+};
+
+
+
void signal_handler(int signal)
{
need_exit = 1;