Mouse: Fix resize mwfact with grid layout.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user