summaryrefslogtreecommitdiff
path: root/x11.h
diff options
context:
space:
mode:
Diffstat (limited to 'x11.h')
-rw-r--r--x11.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/x11.h b/x11.h
new file mode 100644
index 00000000..6800ea7d
--- /dev/null
+++ b/x11.h
@@ -0,0 +1,20 @@
+#ifndef __X11_H__
+#define __X11_H__
+
+#include <X11/Xlib.h>
+#include <X11/Xutil.h>
+
+typedef struct _X11Info X11Info;
+
+struct _X11Info {
+ gchar *display;
+ gchar *version;
+ gchar *vendor;
+ gchar *xf86version;
+ gchar *screen_size;
+};
+
+X11Info *x11_get_info(void);
+GtkWidget *x11_get_widget(MainWindow *mainwindow);
+
+#endif