00001
00002
00003
00004
00005
00006 #define VERSION "0.11"
00007
00008 #define TRUE 1
00009 #define FALSE 0
00010 #define WINWIDTH 640
00011 #define WINHEIGHT 480
00012 #define BORDERX 30
00013 #define BORDERY 30
00014 #define BORDER 50
00015 #define ALIVE_MASK (SubstructureNotifyMask | KeyPressMask | PointerMotionMask)
00016
00017
00018 #define FATAL -1
00019 #define WARNING -2
00020
00021
00022
00023 typedef struct _disp
00024 {
00025 Window win;
00026 Display *dpy;
00027 int screen;
00028 Window root;
00029 char *dname;
00030
00031 long bg;
00032
00033 XColor bg_xcolor;
00034
00035 GC pixcolour_gc[256];
00036 Atom kill_atom, protocol_atom;
00037 Colormap cmap;
00038 }
00039 disp;