/* Drawing Context */
typedef struct {
Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)];
- GC gc;
Font font, bfont, ifont, ibfont;
} DC;
xw.xic = XCreateIC(xw.xim, XNInputStyle, XIMPreeditNothing
| XIMStatusNothing, XNClientWindow, xw.win,
XNFocusWindow, xw.win, NULL);
- /* gc */
- dc.gc = XCreateGC(xw.dpy, xw.win, 0, NULL);
/* white cursor, black outline */
cursor = XCreateFontCursor(xw.dpy, XC_xterm);