Mercurial > dwm-meillo
diff tag.c @ 123:61490330e90a
cleaned up code
author | arg@10ksloc.org |
---|---|
date | Thu, 20 Jul 2006 12:18:06 +0200 |
parents | 329fd7dae530 |
children | 75576e44c1d8 |
line wrap: on
line diff
--- a/tag.c Thu Jul 20 10:48:22 2006 +0200 +++ b/tag.c Thu Jul 20 12:18:06 2006 +0200 @@ -20,9 +20,9 @@ /* CUSTOMIZE */ static Rule rule[] = { - /* class instance tags isfloat */ - { "Firefox.*", { [Twww] = "www" }, False }, - { "Gimp.*", { 0 }, True}, + /* class:instance tags isfloat */ + { "Firefox.*", { [Twww] = "www" }, False }, + { "Gimp.*", { 0 }, True}, }; /* extern */ @@ -71,8 +71,8 @@ void dotile(Arg *arg) { + int n, i, w, h; Client *c; - int n, i, w, h; w = sw - mw; arrange = dotile; @@ -161,6 +161,7 @@ replacetag(Arg *arg) { int i; + if(!sel) return;