diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-06-01 17:51:22 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-06-01 17:51:22 +0100 |
| commit | fc578c57e4c265cefff0a55a0ca74172a84e757d (patch) | |
| tree | 6e4893865865c616fdd5a8d40a16284f5a587076 | |
| parent | using anydot's memcpy-approach in drawtext, however it still looks awkward to me (diff) | |
| download | dwm-fc578c57e4c265cefff0a55a0ca74172a84e757d.tar.gz dwm-fc578c57e4c265cefff0a55a0ca74172a84e757d.zip | |
fixed the tile() issue with xpdf
Diffstat (limited to '')
| -rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1442,13 +1442,13 @@ tile(void) { | |||
| 1442 | /* master */ | 1442 | /* master */ |
| 1443 | c = nexttiled(clients); | 1443 | c = nexttiled(clients); |
| 1444 | mw = mfact * ww; | 1444 | mw = mfact * ww; |
| 1445 | resize(c, wx, wy, ((n == 1) ? ww : mw) - 2 * c->bw, wh - 2 * c->bw, resizehints); | 1445 | resize(c, wx, wy, (n == 1 ? ww : mw) - 2 * c->bw, wh - 2 * c->bw, resizehints); |
| 1446 | 1446 | ||
| 1447 | if(--n == 0) | 1447 | if(--n == 0) |
| 1448 | return; | 1448 | return; |
| 1449 | 1449 | ||
| 1450 | /* tile stack */ | 1450 | /* tile stack */ |
| 1451 | x = (wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : ww - mw; | 1451 | x = (wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : wx + mw; |
| 1452 | y = wy; | 1452 | y = wy; |
| 1453 | w = (wx + mw > c->x + c->w) ? wx + ww - x : ww - mw; | 1453 | w = (wx + mw > c->x + c->w) ? wx + ww - x : ww - mw; |
| 1454 | h = wh / n; | 1454 | h = wh / n; |
