Xinqi Bao's Git
projects
/
st.git
/ diff
summary
|
log
|
commit
|
diff
|
tree
raw
|
patch
|
inline
| side by side (parent:
2f96cfe
)
fixed background color bug (thx Devin J. Pohly).
author
Aurélien Aptel <
[email protected]
>
Thu, 8 Jul 2010 14:31:41 +0000
(16:31 +0200)
committer
Aurélien Aptel <
[email protected]
>
Thu, 8 Jul 2010 14:31:41 +0000
(16:31 +0200)
st.c
diff
|
blob
|
history
diff --git
a/st.c
b/st.c
index
a571a28
..
6b525c3
100755
(executable)
--- a/
st.c
+++ b/
st.c
@@
-597,7
+597,7
@@
tsetattr(int *attr, int l) {
term.c.attr.fg = DefaultFG;
break;
case 49:
term.c.attr.fg = DefaultFG;
break;
case 49:
- term.c.attr.
f
g = DefaultBG;
+ term.c.attr.
b
g = DefaultBG;
break;
default:
if(BETWEEN(attr[i], 30, 37))
break;
default:
if(BETWEEN(attr[i], 30, 37))
@@
-1032,9
+1032,9
@@
xclear(int x1, int y1, int x2, int y2) {
void
xhints(void)
{
void
xhints(void)
{
- XClassHint c
hint
= {TNAME, TNAME};
- XWMHints wm
hint
= {.flags = InputHint, .input = 1};
- XSizeHints s
hint
= {
+ XClassHint c
lass
= {TNAME, TNAME};
+ XWMHints wm = {.flags = InputHint, .input = 1};
+ XSizeHints s
ize
= {
.flags = PSize | PResizeInc | PBaseSize,
.height = xw.h,
.width = xw.w,
.flags = PSize | PResizeInc | PBaseSize,
.height = xw.h,
.width = xw.w,
@@
-1043,7
+1043,7
@@
xhints(void)
.base_height = 2*BORDER,
.base_width = 2*BORDER,
};
.base_height = 2*BORDER,
.base_width = 2*BORDER,
};
- XSetWMProperties(xw.dis, xw.win, NULL, NULL, NULL, 0, &s
hint, &wmhint, &chint
);
+ XSetWMProperties(xw.dis, xw.win, NULL, NULL, NULL, 0, &s
ize, &wm, &class
);
}
void
}
void