From 592dad282758e493a1d7af02bd38235765aed344 Mon Sep 17 00:00:00 2001 From: Martin Duquesnoy Date: Sun, 29 Mar 2009 01:11:25 +0100 Subject: [PATCH] Mouse: Fix resize mwfact with grid layout. --- src/mouse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mouse.c b/src/mouse.c index 7d5211b..5848a2f 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -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);