Fix rules m'kay

This commit is contained in:
Martin Duquesnoy 2012-01-28 21:49:55 +01:00
parent 32f8c69a81
commit 9175f28d1b

View File

@ -866,11 +866,11 @@ client_apply_rule(struct client *c)
if(flags & (RINSTANCE | RCLASS | RNAME) && flags & RROLE)
{
if(r->screen > 0)
if(r->screen != 1)
c->screen = screen_gb_id(r->screen);
c->tag = c->screen->seltag;
if(r->tag > 0)
if(r->tag != 1)
c->tag = tag_gb_id(c->screen, r->tag);
c->theme = r->theme;
@ -885,7 +885,6 @@ client_apply_rule(struct client *c)
if(r->flags & RULE_IGNORE_TAG)
{}
*/
c->flags |= CLIENT_RULED;
}
flags = 0;