all repos — st @ ace789a79fc44c1c3b629f5c0fb477c651d84a48

st (suckless terminal) config

Gc is not used anymore.
Christoph Lohmann 20h@r-36.net
commit

ace789a79fc44c1c3b629f5c0fb477c651d84a48

parent

c4a9ccec19b14a6bdc980d149e2c27c30f250945

1 files changed, 0 insertions(+), 3 deletions(-)

jump to
M st.cst.c

@@ -277,7 +277,6 @@

/* Drawing Context */ typedef struct { Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)]; - GC gc; Font font, bfont, ifont, ibfont; } DC;

@@ -2398,8 +2397,6 @@ xw.xim = XOpenIM(xw.dpy, NULL, NULL, NULL);

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);