aewl

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 diff
     1.1 --- a/tag.c	Thu Jul 20 10:48:22 2006 +0200
     1.2 +++ b/tag.c	Thu Jul 20 12:18:06 2006 +0200
     1.3 @@ -20,9 +20,9 @@
     1.4  
     1.5  /* CUSTOMIZE */ 
     1.6  static Rule rule[] = {
     1.7 -	/* class			instance	tags		isfloat */
     1.8 -	{ "Firefox.*",	{ [Twww] = "www" },			False },
     1.9 -	{ "Gimp.*",		{ 0 },						True},
    1.10 +	/* class:instance	tags				isfloat */
    1.11 +	{ "Firefox.*",		{ [Twww] = "www" },		False },
    1.12 +	{ "Gimp.*",		{ 0 },				True},
    1.13  };
    1.14  
    1.15  /* extern */
    1.16 @@ -71,8 +71,8 @@
    1.17  void
    1.18  dotile(Arg *arg)
    1.19  {
    1.20 +	int n, i, w, h;
    1.21  	Client *c;
    1.22 -	int n, i, w, h;
    1.23  
    1.24  	w = sw - mw;
    1.25  	arrange = dotile;
    1.26 @@ -161,6 +161,7 @@
    1.27  replacetag(Arg *arg)
    1.28  {
    1.29  	int i;
    1.30 +
    1.31  	if(!sel)
    1.32  		return;
    1.33