summaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-01-25 09:59:48 +0100
committerAnselm R. Garbe <arg@suckless.org>2007-01-25 09:59:48 +0100
commit2c1db7ed354f303c2a2aa7eb6b7de3a0dac5d022 (patch)
treee630621f5e8352a7d494ec90e2379c4ed63a6ecb /client.c
parentea4827a5789b6c8241b793a77e5b66f7ac475409 (diff)
prepared yet another hotfix release
Diffstat (limited to 'client.c')
-rw-r--r--client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client.c b/client.c
index 6a178f8c..e11abfda 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;