From dc5d967ee61046f899b3b49daeb9268c8161844a Mon Sep 17 00:00:00 2001 From: arg@10ksloc.org Date: Thu, 20 Jul 2006 12:18:06 +0200 Subject: cleaned up code --- tag.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tag.c') diff --git a/tag.c b/tag.c index 8509867..186a5ae 100644 --- a/tag.c +++ b/tag.c @@ -20,9 +20,9 @@ typedef struct { /* 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 @@ dofloat(Arg *arg) void dotile(Arg *arg) { - Client *c; int n, i, w, h; + Client *c; w = sw - mw; arrange = dotile; @@ -161,6 +161,7 @@ void replacetag(Arg *arg) { int i; + if(!sel) return; -- cgit v1.2.3