Xinqi Bao's Git
projects
/
dwm.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
let not overlap the borders
[dwm.git]
/
layout.c
diff --git
a/layout.c
b/layout.c
index
0002397
..
eb64a33
100644
(file)
--- a/
layout.c
+++ b/
layout.c
@@
-175,7
+175,7
@@
tile(const char *arg) {
}
resize(c, nx, ny, nw, nh, False);
if(n > 1 && th != wah)
}
resize(c, nx, ny, nw, nh, False);
if(n > 1 && th != wah)
- ny += nh;
+ ny += nh
+ 2 * c->border
;
i++;
}
else
i++;
}
else