X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;fp=client.c;h=ed19d9c327e2f0ae0f3eb49af6da2e861891cf3e;hp=114aeddc6328d0320593ab82dd198ece49f59ab7;hb=8fcc4ff0ae2b20f9605370cee02ebcda50f8777c;hpb=f2512243f494915fe91ebb5e67ac94abd5b528c6 diff --git a/client.c b/client.c index 114aedd..ed19d9c 100644 --- a/client.c +++ b/client.c @@ -272,9 +272,9 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehints) { w -= (w - c->basew) % c->incw; if(c->inch) h -= (h - c->baseh) % c->inch; - if(w <= 0 || h <= 0) - return; } + if(w <= 0 || h <= 0) + return; /* offscreen appearance fixes */ if(x > sw) x = sw - w - 2 * c->border;