diff options
Diffstat (limited to 'x11.h')
-rw-r--r-- | x11.h | 20 |
1 files changed, 20 insertions, 0 deletions
@@ -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 |