JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
prepared yet another hotfix release
[dwm.git] / client.c
index 6a178f8..e11abfd 100644 (file)
--- 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;