aewl
diff tag.c @ 130:30d1302dbe3b
sanitization of several clunky stuff, removed heretag (rarely of use), simplified pop(), changed shortcuts to always contain MODKEY
author | arg@10ksloc.org |
---|---|
date | Fri, 21 Jul 2006 07:37:52 +0200 |
parents | 1480e19f6377 |
children | c1185dc7a36e |
line diff
1.1 --- a/tag.c Thu Jul 20 19:09:11 2006 +0200 1.2 +++ b/tag.c Fri Jul 21 07:37:52 2006 +0200 1.3 @@ -21,15 +21,16 @@ 1.4 /* CUSTOMIZE */ 1.5 static Rule rule[] = { 1.6 /* class:instance tags isfloat */ 1.7 - { "Firefox.*", { [Twww] = "www" }, False }, 1.8 + { "Firefox.*", { [Tnet] = "net" }, False }, 1.9 { "Gimp.*", { 0 }, True}, 1.10 }; 1.11 1.12 char *tags[TLast] = { 1.13 - [Tscratch] = "scratch", 1.14 + [Tfnord] = "fnord", 1.15 [Tdev] = "dev", 1.16 - [Twww] = "www", 1.17 + [Tnet] = "net", 1.18 [Twork] = "work", 1.19 + [Tmisc] = "misc", 1.20 }; 1.21 1.22 void (*arrange)(Arg *) = dotile; 1.23 @@ -148,25 +149,6 @@ 1.24 } 1.25 1.26 void 1.27 -heretag(Arg *arg) 1.28 -{ 1.29 - int i; 1.30 - Client *c; 1.31 - 1.32 - if(arg->i == tsel) 1.33 - return; 1.34 - 1.35 - if(!(c = getnext(clients, arg->i))) 1.36 - return; 1.37 - 1.38 - for(i = 0; i < TLast; i++) 1.39 - c->tags[i] = NULL; 1.40 - c->tags[tsel] = tags[tsel]; 1.41 - pop(c); 1.42 - focus(c); 1.43 -} 1.44 - 1.45 -void 1.46 replacetag(Arg *arg) 1.47 { 1.48 int i;