pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f251224
)
fix of resize (thanks Sander for the hint!)
author
Anselm R. Garbe
<garbeam@gmail.com>
Tue, 14 Aug 2007 17:38:10 +0000
(19:38 +0200)
committer
Anselm R. Garbe
<garbeam@gmail.com>
Tue, 14 Aug 2007 17:38:10 +0000
(19:38 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index
114aedd
..
ed19d9c
100644
(file)
--- 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;