diff options
author | garbeam@gmail.com <unknown> | 2011-07-20 18:45:40 +0000 |
---|---|---|
committer | garbeam@gmail.com <unknown> | 2011-07-20 18:45:40 +0000 |
commit | d6670a800d33639cdf64de170650b64c1921a300 (patch) | |
tree | 320e9087603517f99d1448f6d0060c6373af1fae /dwm.c | |
parent | 6288c446974020c396923c9a4f1bf29c6f6c9645 (diff) |
applied Connors aesthitic buf fix in tile(), thanks
Diffstat (limited to 'dwm.c')
-rw-r--r-- | dwm.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1662,9 +1662,9 @@ tile(Monitor *m) { if(--n == 0) return; /* tile stack */ - x = (m->wx + mw > c->x + c->w) ? c->x + c->w + 2 * c->bw : m->wx + mw; + x = (m->wx > c->x) ? c->x + mw + 2 * c->bw : m->wx + mw; y = m->wy; - w = (m->wx + mw > c->x + c->w) ? m->wx + m->ww - x : m->ww - mw; + w = (m->wx > c->x) ? m->wx + m->ww - x : m->ww - mw; h = m->wh / n; if(h < bh) h = m->wh; |