Introduction
Introduction Statistics Contact Development Disclaimer Help
tfixed background color bug (thx Devin J. Pohly). - st - [fork] customized buil…
git clone git://src.adamsgaard.dk/st
Log
Files
Refs
README
LICENSE
---
commit 499c70cda048e9d62ab9085efb3a6d484c64bf37
parent 2f96cfeadaac871456e2e2acae3b997c23c93d63
Author: AurĂ©lien Aptel <[email protected]>
Date: Thu, 8 Jul 2010 16:31:41 +0200
fixed background color bug (thx Devin J. Pohly).
Diffstat:
M st.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/st.c b/st.c
t@@ -597,7 +597,7 @@ tsetattr(int *attr, int l) {
term.c.attr.fg = DefaultFG;
break;
case 49:
- term.c.attr.fg = DefaultBG;
+ term.c.attr.bg = DefaultBG;
break;
default:
if(BETWEEN(attr[i], 30, 37))
t@@ -1032,9 +1032,9 @@ xclear(int x1, int y1, int x2, int y2) {
void
xhints(void)
{
- XClassHint chint = {TNAME, TNAME};
- XWMHints wmhint = {.flags = InputHint, .input = 1};
- XSizeHints shint = {
+ XClassHint class = {TNAME, TNAME};
+ XWMHints wm = {.flags = InputHint, .input = 1};
+ XSizeHints size = {
.flags = PSize | PResizeInc | PBaseSize,
.height = xw.h,
.width = xw.w,
t@@ -1043,7 +1043,7 @@ xhints(void)
.base_height = 2*BORDER,
.base_width = 2*BORDER,
};
- XSetWMProperties(xw.dis, xw.win, NULL, NULL, NULL, 0, &shint, &wmhint,…
+ XSetWMProperties(xw.dis, xw.win, NULL, NULL, NULL, 0, &size, &wm, &cla…
}
void
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.