#include <stdio.h>
#include <strings.h>	
#include <X11/Xlib.h>
#include <X11/Xutil.h>

Display	*dpy;          /* The display used */
int	screen;        /* The screen on the display */
GC	gc;            /* The graphics context used for drawing */
GC	erase_gc;      /* GC for erasing text */
XFontStruct	*fontp;/* The font used for drawing */
XContext defwindow;    /* Context used by definition windows */

#ifndef NeXT
extern char *malloc();
#endif

/* current, desired & min geometry for a given window */

struct sizes
{
	Window win;
	unsigned int cur_width;
	unsigned int cur_height;
	unsigned int min_width;
	unsigned int min_height;
	unsigned int desired_width;
	unsigned int desired_height;
	int desired_x;
	int desired_y;
	char *win_name;
	char *definition;
} icons, wwindows, parents;

#define DEFAULT_BORDER_WIDTH 2
