aboutsummaryrefslogtreecommitdiff
path: root/tag.c
diff options
context:
space:
mode:
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;