mirror of git://git.suckless.org/st
renamed a function.
This commit is contained in:
parent
10e49a0505
commit
d2f157c741
5
st.c
5
st.c
|
@ -157,6 +157,7 @@ static void ttywrite(const char *, size_t);
|
||||||
static void xclear(int, int, int, int);
|
static void xclear(int, int, int, int);
|
||||||
static void xcursor(int);
|
static void xcursor(int);
|
||||||
static void xinit(void);
|
static void xinit(void);
|
||||||
|
static void xloadcols(void);
|
||||||
|
|
||||||
static void expose(XEvent *);
|
static void expose(XEvent *);
|
||||||
static char* kmap(KeySym);
|
static char* kmap(KeySym);
|
||||||
|
@ -1035,7 +1036,7 @@ tresize(int col, int row) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
tloadcols(void) {
|
xloadcols(void) {
|
||||||
int i, r, g, b;
|
int i, r, g, b;
|
||||||
XColor color;
|
XColor color;
|
||||||
Colormap cmap = DefaultColormap(xw.dis, xw.scr);
|
Colormap cmap = DefaultColormap(xw.dis, xw.scr);
|
||||||
|
@ -1115,7 +1116,7 @@ xinit(void) {
|
||||||
xw.ch = dc.font->ascent + dc.font->descent;
|
xw.ch = dc.font->ascent + dc.font->descent;
|
||||||
|
|
||||||
/* colors */
|
/* colors */
|
||||||
tloadcols();
|
xloadcols();
|
||||||
|
|
||||||
term.c.attr.fg = DefaultFG;
|
term.c.attr.fg = DefaultFG;
|
||||||
term.c.attr.bg = DefaultBG;
|
term.c.attr.bg = DefaultBG;
|
||||||
|
|
Loading…
Reference in New Issue