diff options
Diffstat (limited to 'st.c')
| -rw-r--r-- | st.c | 5 |
1 files changed, 3 insertions, 2 deletions
| @@ -157,6 +157,7 @@ static void ttywrite(const char *, size_t); | |||
| 157 | static void xclear(int, int, int, int); | 157 | static void xclear(int, int, int, int); |
| 158 | static void xcursor(int); | 158 | static void xcursor(int); |
| 159 | static void xinit(void); | 159 | static void xinit(void); |
| 160 | static void xloadcols(void); | ||
| 160 | 161 | ||
| 161 | static void expose(XEvent *); | 162 | static void expose(XEvent *); |
| 162 | static char* kmap(KeySym); | 163 | static char* kmap(KeySym); |
| @@ -1035,7 +1036,7 @@ tresize(int col, int row) { | |||
| 1035 | } | 1036 | } |
| 1036 | 1037 | ||
| 1037 | void | 1038 | void |
| 1038 | tloadcols(void) { | 1039 | xloadcols(void) { |
| 1039 | int i, r, g, b; | 1040 | int i, r, g, b; |
| 1040 | XColor color; | 1041 | XColor color; |
| 1041 | Colormap cmap = DefaultColormap(xw.dis, xw.scr); | 1042 | Colormap cmap = DefaultColormap(xw.dis, xw.scr); |
| @@ -1115,7 +1116,7 @@ xinit(void) { | |||
| 1115 | xw.ch = dc.font->ascent + dc.font->descent; | 1116 | xw.ch = dc.font->ascent + dc.font->descent; |
| 1116 | 1117 | ||
| 1117 | /* colors */ | 1118 | /* colors */ |
| 1118 | tloadcols(); | 1119 | xloadcols(); |
| 1119 | 1120 | ||
| 1120 | term.c.attr.fg = DefaultFG; | 1121 | term.c.attr.fg = DefaultFG; |
| 1121 | term.c.attr.bg = DefaultBG; | 1122 | term.c.attr.bg = DefaultBG; |
