diff options
author | Anselm R. Garbe | 2007-08-14 19:38:10 +0200 |
---|---|---|
committer | Anselm R. Garbe | 2007-08-14 19:38:10 +0200 |
commit | 748fe1e96128c81d696e60f302edb98e4305a1f2 (patch) | |
tree | 668cb812bfb58a24b312394568dd41137786a5c4 /client.c | |
parent | 4747650cf24d46ddc65d712b3f7d7d4fd0d0afb0 (diff) | |
download | aur-748fe1e96128c81d696e60f302edb98e4305a1f2.tar.gz |
fix of resize (thanks Sander for the hint!)
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |