

#ifndef __MAIN_H
#define __MAIN_H

extern GMainLoop *main_loop;
extern int display_width, display_height;
extern char *rcfile;
extern char *display;
extern Display *dpy;
extern Window root;
extern Colormap cmap;
extern Visual *visual;
extern int screen;
extern int depth;

//extern gulong margins[4];
extern int quit, reload;
extern int shape, shape_event;

#ifdef HAVE_RANDR
extern int xrandrSupported, xrandrEventBase, xrandrErrorBase;
#endif


extern Cursor resize_cursor[7], button_cursor[5];
extern Cursor move_cursor, busy_cursor, root_cursor, kill_cursor;

extern int want_verbose;

extern int x_free(void *p);
extern void cache_screen_info(void);

#endif
