cosmetic
This commit is contained in:
parent
f56a26bac7
commit
b7ef890148
6
layout.c
6
layout.c
|
@ -169,16 +169,16 @@ uicb_setlayout(Display *disp,
|
|||
if(!arg)
|
||||
{
|
||||
if(!(++awesomeconf->current_layout)->symbol)
|
||||
awesomeconf->current_layout = &awesomeconf->layouts[0];
|
||||
awesomeconf->current_layout = awesomeconf->layouts;
|
||||
}
|
||||
else
|
||||
{
|
||||
i = strtol(arg, NULL, 10);
|
||||
if(i < 0 || i >= awesomeconf->nlayouts)
|
||||
return;
|
||||
return;
|
||||
awesomeconf->current_layout = &awesomeconf->layouts[i];
|
||||
}
|
||||
|
||||
|
||||
for(c = clients; c; c = c->next)
|
||||
c->ftview = True;
|
||||
|
||||
|
|
Loading…
Reference in New Issue