diff options
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; |