Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
dwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new colorscheme (16-bit compliant)
[dwm.git]
/
tile.c
diff --git
a/tile.c
b/tile.c
index
114e84c
..
56a06d3
100644
(file)
--- a/
tile.c
+++ b/
tile.c
@@
-46,7
+46,7
@@
tile(void) {
nx = wax;
ny = way;
nx = wax;
ny = way;
- for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next)) {
+ for(i = 0, c = nexttiled(clients); c; c = nexttiled(c->next), i++) {
c->ismax = False;
if(i == 0) { /* master */
nw = mw - 2 * c->border;
c->ismax = False;
if(i == 0) { /* master */
nw = mw - 2 * c->border;
@@
-63,10
+63,9
@@
tile(void) {
else
nh = th - 2 * c->border;
}
else
nh = th - 2 * c->border;
}
- resize(c, nx, ny, nw, nh, False);
+ resize(c, nx, ny, nw, nh, RESIZEHINTS);
if(n > 1 && th != wah)
ny += nh + 2 * c->border;
if(n > 1 && th != wah)
ny += nh + 2 * c->border;
- i++;
}
}
}
}