From bcaf6a7a0f492c3fafc4baabd2dc06f5191417ee Mon Sep 17 00:00:00 2001 From: "arg@10ksloc.org" Date: Wed, 19 Jul 2006 17:42:08 +0200 Subject: implemented regexp matching for rules --- client.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'client.c') diff --git a/client.c b/client.c index ccd8100..aa96f4f 100644 --- a/client.c +++ b/client.c @@ -247,8 +247,9 @@ manage(Window w, XWindowAttributes *wa) GrabModeAsync, GrabModeSync, None, None); if(!c->isfloat) - c->isfloat = trans - || ((c->maxw == c->minw) && (c->maxh == c->minh)); + c->isfloat = trans || (c->maxw && c->minw && + (c->maxw == c->minw) && (c->maxh == c->minh)); + setgeom(c); settitle(c); -- cgit v1.2.3-13-gbd6f