aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Lohmann <20h@r-36.net>2012-09-24 10:24:36 +0200
committerChristoph Lohmann <20h@r-36.net>2012-09-24 10:24:36 +0200
commit61ffa628ff39f45280b6c0a7bb9d11ade401c479 (patch)
tree10f7bfb24c9b94b1c0daac6ade4b30528eb65690
parenta0b0b8f6947841549e8bd7da8978796bafe463d5 (diff)
parenteb837afafa8049d72cbbb3bfe04aef8ed5688f53 (diff)
downloadst-61ffa628ff39f45280b6c0a7bb9d11ade401c479.tar.gz
st-61ffa628ff39f45280b6c0a7bb9d11ade401c479.tar.bz2
Merging xft and current st heads.
-rw-r--r--st.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/st.c b/st.c
index f7fecf8..3c158c0 100644
--- a/st.c
+++ b/st.c
@@ -201,7 +201,7 @@ typedef struct {
XftDraw *xft_draw;
Visual *vis;
int scr;
- Bool isfixed; /* is fixed geometry? */
+ bool isfixed; /* is fixed geometry? */
int fx, fy, fw, fh; /* fixed geometry */
int tw, th; /* tty width and height */
int w; /* window width */
@@ -940,7 +940,7 @@ tcursor(int mode) {
void
treset(void) {
- unsigned i;
+ uint i;
term.c = (TCursor){{
.mode = ATTR_NULL,
.fg = DefaultFG,
@@ -1603,7 +1603,7 @@ strreset(void) {
void
tputtab(bool forward) {
- unsigned x = term.c.x;
+ uint x = term.c.x;
if(forward) {
if(x == term.col)
@@ -2381,7 +2381,7 @@ run(void) {
int
main(int argc, char *argv[]) {
int i, bitm, xr, yr;
- unsigned int wr, hr;
+ uint wr, hr;
xw.fw = xw.fh = xw.fx = xw.fy = 0;
xw.isfixed = False;