X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=tag.c;h=1bfedb226e3b7b7886d828b7ad9d64a690de6b89;hp=d29a179863ee7bcc89e1745a480aaed989858cc3;hb=c53980cddcee8afd13ea793134ed3ddf5dbef0e3;hpb=58f2fe3f6af3d6f8c925125c721a2d1800d750dc diff --git a/tag.c b/tag.c index d29a179..1bfedb2 100644 --- a/tag.c +++ b/tag.c @@ -12,7 +12,7 @@ /* CUSTOMIZE */ static Rule rule[] = { /* class instance tags isfloat */ - { "Firefox-bin", "Gecko", { [Twww] = "www" }, False }, + { "Firefox-bin", "firefox-bin", { [Twww] = "www" }, False }, }; /* extern */ @@ -45,7 +45,7 @@ dofloat(Arg *arg) for(c = clients; c; c = c->next) { setgeom(c); if(c->tags[tsel]) { - resize(c, True); + resize(c, True, TopLeft); } else ban(c); @@ -81,7 +81,7 @@ dotile(Arg *arg) if(c->tags[tsel]) { if(c->isfloat) { higher(c); - resize(c, True); + resize(c, True, TopLeft); continue; } if(n == 1) { @@ -102,7 +102,7 @@ dotile(Arg *arg) *c->w = w - 2 * c->border; *c->h = h - 2 * c->border; } - resize(c, False); + resize(c, False, TopLeft); i++; } else