Simply _fac_apply

This commit is contained in:
Martin Duquesnoy
2011-10-10 15:33:30 +02:00
parent 772ad67882
commit 2a9d91af8d

View File

@@ -518,21 +518,17 @@ _fac_apply(struct client *c, enum position p, int fac)
{
switch(p)
{
default:
case Right:
c->tgeo.w += fac;
case Top:
c->tgeo.y -= fac;
case Bottom:
c->tgeo.h += fac;
break;
case Left:
c->tgeo.x -= fac;
default:
case Right:
c->tgeo.w += fac;
break;
case Top:
c->tgeo.y -= fac;
c->tgeo.h += fac;
break;
case Bottom:
c->tgeo.h += fac;
break;
}
c->flags |= CLIENT_IGNORE_ENTER;