aewl
diff tag.c @ 80:8125f908c80c
several additions in mouse handling ;)
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Sun, 16 Jul 2006 00:47:40 +0200 |
parents | 4bd49f404f10 |
children | 052fe7498930 |
line diff
1.1 --- a/tag.c Sat Jul 15 18:51:44 2006 +0200 1.2 +++ b/tag.c Sun Jul 16 00:47:40 2006 +0200 1.3 @@ -17,7 +17,7 @@ 1.4 }; 1.5 1.6 static Rule rule[] = { 1.7 - /* class instance tags dofloat */ 1.8 + /* class instance tags isfloat */ 1.9 { "Firefox-bin", "Gecko", { [Twww] = "www" }, False }, 1.10 }; 1.11 1.12 @@ -67,7 +67,7 @@ 1.13 w = sw - mw; 1.14 arrange = dotile; 1.15 for(n = 0, c = clients; c; c = c->next) 1.16 - if(c->tags[tsel] && !c->dofloat) 1.17 + if(c->tags[tsel] && !c->isfloat) 1.18 n++; 1.19 1.20 if(n > 1) 1.21 @@ -77,7 +77,7 @@ 1.22 1.23 for(i = 0, c = clients; c; c = c->next) { 1.24 if(c->tags[tsel]) { 1.25 - if(c->dofloat) { 1.26 + if(c->isfloat) { 1.27 higher(c); 1.28 resize(c, True); 1.29 continue; 1.30 @@ -155,7 +155,7 @@ 1.31 { 1.32 for(j = 0; j < TLast; j++) 1.33 c->tags[j] = rule[i].tags[j]; 1.34 - c->dofloat = rule[i].dofloat; 1.35 + c->isfloat = rule[i].isfloat; 1.36 matched = True; 1.37 break; 1.38 }