Xinqi Bao's Git
projects
/
st.git
/ commitdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c4a9cce
)
Gc is not used anymore.
author
Christoph Lohmann <
[email protected]
>
Sun, 11 Nov 2012 18:46:34 +0000
(19:46 +0100)
committer
Christoph Lohmann <
[email protected]
>
Sun, 11 Nov 2012 18:46:34 +0000
(19:46 +0100)
st.c
patch
|
blob
|
history
diff --git
a/st.c
b/st.c
index
c043e3f
..
8b18607
100644
(file)
--- 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);