pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6288c44
)
applied Connors aesthitic buf fix in tile(), thanks
author
garbeam@gmail.com
<unknown>
Wed, 20 Jul 2011 18:45:40 +0000
(18:45 +0000)
committer
garbeam@gmail.com
<unknown>
Wed, 20 Jul 2011 18:45:40 +0000
(18:45 +0000)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index
5e67084
..
f176f4c
100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-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 + m
w + 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;