comparison tag.c @ 99:a19556fe83b5

applied Sanders resize patch, fixed lower bug
author arg@10ksloc.org
date Wed, 19 Jul 2006 11:31:04 +0200
parents 1d125cf2925b
children 3a708f113f55
comparison
equal deleted inserted replaced
98:f08394353588 99:a19556fe83b5
43 43
44 arrange = dofloat; 44 arrange = dofloat;
45 for(c = clients; c; c = c->next) { 45 for(c = clients; c; c = c->next) {
46 setgeom(c); 46 setgeom(c);
47 if(c->tags[tsel]) { 47 if(c->tags[tsel]) {
48 resize(c, True); 48 resize(c, True, TopLeft);
49 } 49 }
50 else 50 else
51 ban(c); 51 ban(c);
52 } 52 }
53 if(sel && !sel->tags[tsel]) { 53 if(sel && !sel->tags[tsel]) {
79 for(i = 0, c = clients; c; c = c->next) { 79 for(i = 0, c = clients; c; c = c->next) {
80 setgeom(c); 80 setgeom(c);
81 if(c->tags[tsel]) { 81 if(c->tags[tsel]) {
82 if(c->isfloat) { 82 if(c->isfloat) {
83 higher(c); 83 higher(c);
84 resize(c, True); 84 resize(c, True, TopLeft);
85 continue; 85 continue;
86 } 86 }
87 if(n == 1) { 87 if(n == 1) {
88 *c->x = sx; 88 *c->x = sx;
89 *c->y = sy + bh; 89 *c->y = sy + bh;
100 *c->x = sx + mw; 100 *c->x = sx + mw;
101 *c->y = sy + (i - 1) * h + bh; 101 *c->y = sy + (i - 1) * h + bh;
102 *c->w = w - 2 * c->border; 102 *c->w = w - 2 * c->border;
103 *c->h = h - 2 * c->border; 103 *c->h = h - 2 * c->border;
104 } 104 }
105 resize(c, False); 105 resize(c, False, TopLeft);
106 i++; 106 i++;
107 } 107 }
108 else 108 else
109 ban(c); 109 ban(c);
110 } 110 }