X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=st.c;h=8b18607db7db882c456e1aac45cf0399627769da;hb=ace789a79fc44c1c3b629f5c0fb477c651d84a48;hp=c043e3fc544171a52bfb6082ed90323010130d3c;hpb=c4a9ccec19b14a6bdc980d149e2c27c30f250945;p=st.git diff --git a/st.c b/st.c index c043e3f..8b18607 100644 --- a/st.c +++ b/st.c @@ -277,7 +277,6 @@ typedef struct { /* Drawing Context */ typedef struct { Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)]; - GC gc; Font font, bfont, ifont, ibfont; } DC; @@ -2398,8 +2397,6 @@ xinit(void) { 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);