[hackers] [dwm] applied Connors aesthitic buf fix in tile(), thanks || garbeam

From: <hg_AT_suckless.org>
Date: Wed, 20 Jul 2011 20:45:43 +0200 (CEST)

changeset: 1569:ecb61d072b41
tag: tip
user: garbeam_AT_gmail.com
date: Wed Jul 20 18:45:40 2011 +0000
files: dwm.c
description:
applied Connors aesthitic buf fix in tile(), thanks

diff -r fd2a8eb01b83 -r ecb61d072b41 dwm.c
--- a/dwm.c Wed Jul 20 18:36:15 2011 +0000
+++ b/dwm.c Wed Jul 20 18:45:40 2011 +0000
@@ -1662,9 +1662,9 @@
         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;
Received on Wed Jul 20 2011 - 20:45:43 CEST

This archive was generated by hypermail 2.2.0 : Wed Jul 20 2011 - 20:48:11 CEST