Client: Fix possible bug in removing focus when client wanted tag is set

This commit is contained in:
Martin Duquesnoy 2010-04-05 16:41:28 +02:00
parent 8c24370a9f
commit b38db34de5

View File

@ -865,7 +865,10 @@ client_set_wanted_tag(Client *c)
c->tag = j;
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);
}