Mouse: Fix resize mwfact with grid layout.

This commit is contained in:
Martin Duquesnoy
2009-03-29 01:11:25 +01:00
parent 4951ba44c4
commit 592dad2827

View File

@@ -164,7 +164,7 @@ mouse_resize(Client *c)
tags[selscreen][seltag[selscreen]].mwfact = (mwf < 0.05) ? 0.05 : ((mwf > 0.95) ? 0.95 : mwf);
}
else
else if(!c->tile)
{
geo.width = ((ev.xmotion.x - ocx < 1) ? 1 : ev.xmotion.x - ocx);
geo.height = ((ev.xmotion.y - ocy < 1) ? 1 : ev.xmotion.y - ocy);