mirror of
https://github.com/LukeSmithxyz/st.git
synced 2024-11-22 07:15:59 +01:00
Gc is not used anymore.
This commit is contained in:
parent
c4a9ccec19
commit
ace789a79f
1 changed files with 0 additions and 3 deletions
3
st.c
3
st.c
|
@ -277,7 +277,6 @@ typedef struct {
|
||||||
/* Drawing Context */
|
/* Drawing Context */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)];
|
Colour col[LEN(colorname) < 256 ? 256 : LEN(colorname)];
|
||||||
GC gc;
|
|
||||||
Font font, bfont, ifont, ibfont;
|
Font font, bfont, ifont, ibfont;
|
||||||
} DC;
|
} DC;
|
||||||
|
|
||||||
|
@ -2398,8 +2397,6 @@ xinit(void) {
|
||||||
xw.xic = XCreateIC(xw.xim, XNInputStyle, XIMPreeditNothing
|
xw.xic = XCreateIC(xw.xim, XNInputStyle, XIMPreeditNothing
|
||||||
| XIMStatusNothing, XNClientWindow, xw.win,
|
| XIMStatusNothing, XNClientWindow, xw.win,
|
||||||
XNFocusWindow, xw.win, NULL);
|
XNFocusWindow, xw.win, NULL);
|
||||||
/* gc */
|
|
||||||
dc.gc = XCreateGC(xw.dpy, xw.win, 0, NULL);
|
|
||||||
|
|
||||||
/* white cursor, black outline */
|
/* white cursor, black outline */
|
||||||
cursor = XCreateFontCursor(xw.dpy, XC_xterm);
|
cursor = XCreateFontCursor(xw.dpy, XC_xterm);
|
||||||
|
|
Loading…
Reference in a new issue