[hackers] [st] Gc is not used anymore. || Christoph Lohmann
changeset: 397:b62ebd2e80d4
tag: tip
user: Christoph Lohmann <20h_AT_r-36.net>
date: Sun Nov 11 19:46:34 2012 +0100
files: st.c
description:
Gc is not used anymore.
diff -r b1ba2a494d7a -r b62ebd2e80d4 st.c
--- a/st.c Sun Nov 11 19:38:41 2012 +0100
+++ b/st.c Sun Nov 11 19:46:34 2012 +0100
_AT_@ -277,7 +277,6 @@
/* Drawing Context */
typedef struct {
Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)];
- GC gc;
Font font, bfont, ifont, ibfont;
} DC;
_AT_@ -2398,8 +2397,6 @@
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);
Received on Sun Nov 11 2012 - 19:48:35 CET
This archive was generated by hypermail 2.3.0
: Sun Nov 11 2012 - 20:00:08 CET