summaryrefslogtreecommitdiffstats
path: root/include/xcb-internal.h
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2016-03-01 18:17:39 +0100
committerDave Davenport <qball@gmpclient.org>2016-03-01 18:17:39 +0100
commit167e9d30ceb50242b0781fb5400ebb4aaf50c81d (patch)
tree0c87685b9319c24003956abee3574ec47ce304a4 /include/xcb-internal.h
parent7d046a1f5bcc3a55f250aed0cbfaf8a54a8d6875 (diff)
Add missing files.
Diffstat (limited to 'include/xcb-internal.h')
-rw-r--r--include/xcb-internal.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/xcb-internal.h b/include/xcb-internal.h
new file mode 100644
index 00000000..2b1a6dd4
--- /dev/null
+++ b/include/xcb-internal.h
@@ -0,0 +1,23 @@
+#ifndef ROFI_XCB_INTERNAL_H
+#define ROFI_XCB_INTERNAL_H
+
+#define SN_API_NOT_YET_FROZEN
+#include <libsn/sn.h>
+
+#include <xcb/xcb.h>
+#include <xcb/xcb_ewmh.h>
+/**
+ * Structure to keep xcb stuff around.
+ */
+
+struct _xcb_stuff
+{
+ xcb_connection_t *connection;
+ xcb_ewmh_connection_t ewmh;
+ xcb_screen_t *screen;
+ int screen_nbr;
+ SnDisplay *sndisplay;
+ SnLauncheeContext *sncontext;
+};
+
+#endif