diff options
author | Anselm R. Garbe <arg@suckless.org> | 2007-01-25 09:59:48 +0100 |
---|---|---|
committer | Anselm R. Garbe <arg@suckless.org> | 2007-01-25 09:59:48 +0100 |
commit | 2c1db7ed354f303c2a2aa7eb6b7de3a0dac5d022 (patch) | |
tree | e630621f5e8352a7d494ec90e2379c4ed63a6ecb /client.c | |
parent | ea4827a5789b6c8241b793a77e5b66f7ac475409 (diff) | |
download | dwm-2c1db7ed354f303c2a2aa7eb6b7de3a0dac5d022.tar.gz |
prepared yet another hotfix release 3.2.2
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |