1 #include <X11/Xlib.h> 2 #include <X11/Xutil.h> 3 4 #include "xglk.h" 5 6 Display *xiodpy; 7 Colormap xiomap; 8 int xioscn; 9 int xiodepth; 10 int xiobackstore; 11 Window xiowin; 12 GC gcfore, gcback, gctech, gctechu, gctechd, gcselect, gcflip; 13 GC gctextfore, gctextback; 14 Font textforefont; 15 unsigned long textforepixel, textbackpixel; 16 unsigned char *pixelcube; 17 int imageslegal; 18 19 int xio_wid, xio_hgt; 20 XRectangle matte_box; 21 int xio_any_invalid; 22 23 preferences_t prefs; 24