tfix of resize (thanks Sander for the hint!) - dwm - [fork] customized build of… | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 8fcc4ff0ae2b20f9605370cee02ebcda50f8777c | |
parent f2512243f494915fe91ebb5e67ac94abd5b528c6 | |
Author: Anselm R. Garbe <[email protected]> | |
Date: Tue, 14 Aug 2007 19:38:10 +0200 | |
fix of resize (thanks Sander for the hint!) | |
Diffstat: | |
M client.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/client.c b/client.c | |
t@@ -272,9 +272,9 @@ resize(Client *c, int x, int y, int w, int h, Bool sizehin… | |
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; |