diff options
author | Christoph Lohmann <20h@r-36.net> | 2012-11-11 19:46:34 +0100 |
---|---|---|
committer | Christoph Lohmann <20h@r-36.net> | 2012-11-11 19:46:34 +0100 |
commit | ace789a79fc44c1c3b629f5c0fb477c651d84a48 (patch) | |
tree | 68df2673c4135c0127e81577e36ed5b1ee3edc59 | |
parent | c4a9ccec19b14a6bdc980d149e2c27c30f250945 (diff) | |
download | st-ace789a79fc44c1c3b629f5c0fb477c651d84a48.tar.gz st-ace789a79fc44c1c3b629f5c0fb477c651d84a48.zip |
Gc is not used anymore.
-rw-r--r-- | st.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -277,7 +277,6 @@ typedef struct { | |||
277 | /* Drawing Context */ | 277 | /* Drawing Context */ |
278 | typedef struct { | 278 | typedef struct { |
279 | Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)]; | 279 | Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)]; |
280 | GC gc; | ||
281 | Font font, bfont, ifont, ibfont; | 280 | Font font, bfont, ifont, ibfont; |
282 | } DC; | 281 | } DC; |
283 | 282 | ||
@@ -2398,8 +2397,6 @@ xinit(void) { | |||
2398 | xw.xic = XCreateIC(xw.xim, XNInputStyle, XIMPreeditNothing | 2397 | xw.xic = XCreateIC(xw.xim, XNInputStyle, XIMPreeditNothing |
2399 | | XIMStatusNothing, XNClientWindow, xw.win, | 2398 | | XIMStatusNothing, XNClientWindow, xw.win, |
2400 | XNFocusWindow, xw.win, NULL); | 2399 | XNFocusWindow, xw.win, NULL); |
2401 | /* gc */ | ||
2402 | dc.gc = XCreateGC(xw.dpy, xw.win, 0, NULL); | ||
2403 | 2400 | ||
2404 | /* white cursor, black outline */ | 2401 | /* white cursor, black outline */ |
2405 | cursor = XCreateFontCursor(xw.dpy, XC_xterm); | 2402 | cursor = XCreateFontCursor(xw.dpy, XC_xterm); |