aboutsummaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-11-11 19:46:34 +0100
committerChristoph Lohmann <20h@r-36.net>2012-11-11 19:46:34 +0100
commitace789a79fc44c1c3b629f5c0fb477c651d84a48 (patch)
tree68df2673c4135c0127e81577e36ed5b1ee3edc59 /st.c
parentc4a9ccec19b14a6bdc980d149e2c27c30f250945 (diff)
downloadst-ace789a79fc44c1c3b629f5c0fb477c651d84a48.tar.gz
st-ace789a79fc44c1c3b629f5c0fb477c651d84a48.tar.bz2
Gc is not used anymore.
Diffstat (limited to 'st.c')
-rw-r--r--st.c3
1 files changed, 0 insertions, 3 deletions
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);