aboutsummaryrefslogtreecommitdiffstats
path: root/tag.c
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-07-20 12:18:06 +0200
committerarg@10ksloc.org <unknown>2006-07-20 12:18:06 +0200
commitdc5d967ee61046f899b3b49daeb9268c8161844a (patch)
tree012a500412dc2c3a427a658d0f257c39de8351fb /tag.c
parentfe3756c8e17f64d9b2aba93db28cb780f303f606 (diff)
downloaddwm-dc5d967ee61046f899b3b49daeb9268c8161844a.tar.zst
cleaned up code
Diffstat (limited to 'tag.c')
-rw-r--r--tag.c9
1 files changed, 5 insertions, 4 deletions
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;