Client: Fixes details in client_set_rule

This commit is contained in:
Martin Duquesnoy
2010-08-10 03:38:53 +02:00
parent 5d7f4a2382
commit ec2c2f6337
2 changed files with 10 additions and 3 deletions

View File

@@ -1068,6 +1068,14 @@ client_set_rules(Client *c)
client_maximize(c);
c->flags |= MaxFlag;
}
if(c->tag != seltag[selscreen])
{
tags[c->screen][c->tag].request_update = True;
client_focus(NULL);
}
tags[c->screen][c->tag].layout.func(c->screen);
}
}