error.[ch]: fix keyword usage
[0verkill.git] / x.h
blobebc4e1256f67be40882c43c1f1887356d01a7205
1 #ifndef __X_H
2 #define __X_H
4 #include <X11/Xlib.h>
5 #include "cfg.h"
7 /* all four following are in characters */
9 /* minimal size of the window */
10 #define X_MIN_WIDTH 80
11 #define X_MIN_HEIGHT 25
13 /* default size of the window */
14 #define DEFAULT_X_SIZE 80
15 #define DEFAULT_Y_SIZE 25
18 extern Display *display;
19 #ifdef TRI_D
20 extern Window window2;
21 #endif
22 extern Window window;
23 extern int x_width,x_height; /* current width of the window (in characters) */
24 extern int FONT_X_SIZE;
25 extern int FONT_Y_SIZE;
26 extern char *x_font_name;
27 extern char *x_display_name;
29 #endif