From 2c1db7ed354f303c2a2aa7eb6b7de3a0dac5d022 Mon Sep 17 00:00:00 2001 From: Anselm R. Garbe Date: Thu, 25 Jan 2007 09:59:48 +0100 Subject: prepared yet another hotfix release --- client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client.c') diff --git a/client.c b/client.c index 6a178f8..e11abfd 100644 --- a/client.c +++ b/client.c @@ -178,6 +178,8 @@ void resize(Client *c, Bool sizehints) { XWindowChanges wc; + if(c->w <= 0 || c->h <= 0) + return; if(sizehints) { if(c->incw) c->w -= (c->w - c->basew) % c->incw; -- cgit v1.2.3