Cfactor: Fix cfactor clean in case of split

This commit is contained in:
Martin Duquesnoy 2011-05-14 12:54:26 +02:00
parent 391aae2dea
commit f606b5ba88

View File

@ -48,7 +48,8 @@ cfactor_clean(Client *c)
{
CHECK(c);
if(!tags[c->screen][c->tag].cleanfact)
if(!tags[c->screen][c->tag].cleanfact
&& !tags[c->screen][c->tag].split)
return;
c->tilefact[Right] = c->tilefact[Left] = 0;