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(!arg)
|
||||||
{
|
{
|
||||||
if(!(++awesomeconf->current_layout)->symbol)
|
if(!(++awesomeconf->current_layout)->symbol)
|
||||||
awesomeconf->current_layout = &awesomeconf->layouts[0];
|
awesomeconf->current_layout = awesomeconf->layouts;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
i = strtol(arg, NULL, 10);
|
i = strtol(arg, NULL, 10);
|
||||||
if(i < 0 || i >= awesomeconf->nlayouts)
|
if(i < 0 || i >= awesomeconf->nlayouts)
|
||||||
return;
|
return;
|
||||||
awesomeconf->current_layout = &awesomeconf->layouts[i];
|
awesomeconf->current_layout = &awesomeconf->layouts[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
for(c = clients; c; c = c->next)
|
for(c = clients; c; c = c->next)
|
||||||
c->ftview = True;
|
c->ftview = True;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue