dwm-meillo

diff client.c @ 721:d3876aa79292

prepared yet another hotfix release
author Anselm R. Garbe <arg@suckless.org>
date Thu, 25 Jan 2007 09:59:48 +0100
parents 09452e717bfd
children d99be681d502
line diff
     1.1 --- a/client.c	Wed Jan 24 17:25:37 2007 +0100
     1.2 +++ b/client.c	Thu Jan 25 09:59:48 2007 +0100
     1.3 @@ -178,6 +178,8 @@
     1.4  resize(Client *c, Bool sizehints) {
     1.5  	XWindowChanges wc;
     1.6  
     1.7 +	if(c->w <= 0 || c->h <= 0)
     1.8 +		return;
     1.9  	if(sizehints) {
    1.10  		if(c->incw)
    1.11  			c->w -= (c->w - c->basew) % c->incw;