tfixed the tile() issue with xpdf - dwm - [fork] customized build of dwm, the d… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fc578c57e4c265cefff0a55a0ca74172a84e757d | |
parent c8eaab21b697247e2bc07ce9b8c7dfdd94e87af9 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Sun, 1 Jun 2008 17:51:22 +0100 | |
fixed the tile() issue with xpdf | |
Diffstat: | |
M dwm.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -1442,13 +1442,13 @@ tile(void) { | |
/* master */ | |
c = nexttiled(clients); | |
mw = mfact * ww; | |
- resize(c, wx, wy, ((n == 1) ? ww : mw) - 2 * c->bw, wh - 2 * c->bw, re… | |
+ resize(c, wx, wy, (n == 1 ? ww : mw) - 2 * c->bw, wh - 2 * c->bw, resi… | |
if(--n == 0) | |
return; | |
/* tile stack */ | |
- x = (wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : ww - mw; | |
+ x = (wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : wx + mw; | |
y = wy; | |
w = (wx + mw > c->x + c->w) ? wx + ww - x : ww - mw; | |
h = wh / n; |