Conf: *TEST* make parser faster.

This commit is contained in:
Martin Duquesnoy
2009-11-06 19:52:26 +01:00
parent 1b16cb9229
commit c37e192b4d
6 changed files with 85 additions and 12 deletions

View File

@@ -862,17 +862,17 @@ layout_set_client_master(Client *c)
{
screen_get_sel();
if(!c
|| (c->flags & HintFlag)
|| !(c->flags & TileFlag)
|| (c->flags & FSSFlag))
if(!c || (c->flags & HintFlag) || !(c->flags & TileFlag)
|| (c->flags & FSSFlag))
return;
if(c == tiled_client(selscreen, clients))
CHECK((c = tiled_client(selscreen, c->next)));
client_detach(c);
client_attach(c);
client_focus(c);
tags[selscreen][seltag[selscreen]].layout.func(selscreen);
return;