summaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <garbeam@wmii.de>2006-07-16 00:47:40 +0200
committerAnselm R. Garbe <garbeam@wmii.de>2006-07-16 00:47:40 +0200
commit901b3ed9b7e3e4c7542797301ae2442938bcea20 (patch)
treeea20343294992690b7044a87a0364305bef55e3f /tag.c
parentfixed XSync handling and finished man page (diff)
downloaddwm-901b3ed9b7e3e4c7542797301ae2442938bcea20.tar.gz
dwm-901b3ed9b7e3e4c7542797301ae2442938bcea20.zip
several additions in mouse handling ;)
Diffstat (limited to '')
-rw-r--r--tag.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tag.c b/tag.c
index 8951dd8..48f1f2a 100644
--- a/tag.c
+++ b/tag.c
@@ -17,7 +17,7 @@ char *tags[TLast] = {
17}; 17};
18 18
19static Rule rule[] = { 19static Rule rule[] = {
20 /* class instance tags dofloat */ 20 /* class instance tags isfloat */
21 { "Firefox-bin", "Gecko", { [Twww] = "www" }, False }, 21 { "Firefox-bin", "Gecko", { [Twww] = "www" }, False },
22}; 22};
23 23
@@ -67,7 +67,7 @@ dotile(Arg *arg)
67 w = sw - mw; 67 w = sw - mw;
68 arrange = dotile; 68 arrange = dotile;
69 for(n = 0, c = clients; c; c = c->next) 69 for(n = 0, c = clients; c; c = c->next)
70 if(c->tags[tsel] && !c->dofloat) 70 if(c->tags[tsel] && !c->isfloat)
71 n++; 71 n++;
72 72
73 if(n > 1) 73 if(n > 1)
@@ -77,7 +77,7 @@ dotile(Arg *arg)
77 77
78 for(i = 0, c = clients; c; c = c->next) { 78 for(i = 0, c = clients; c; c = c->next) {
79 if(c->tags[tsel]) { 79 if(c->tags[tsel]) {
80 if(c->dofloat) { 80 if(c->isfloat) {
81 higher(c); 81 higher(c);
82 resize(c, True); 82 resize(c, True);
83 continue; 83 continue;
@@ -155,7 +155,7 @@ settags(Client *c)
155 { 155 {
156 for(j = 0; j < TLast; j++) 156 for(j = 0; j < TLast; j++)
157 c->tags[j] = rule[i].tags[j]; 157 c->tags[j] = rule[i].tags[j];
158 c->dofloat = rule[i].dofloat; 158 c->isfloat = rule[i].isfloat;
159 matched = True; 159 matched = True;
160 break; 160 break;
161 } 161 }