aboutsummaryrefslogtreecommitdiff
path: root/x11.h
blob: 6800ea7d3990b02b55a8373cd5f5be75d52e79a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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