projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd6c3e
)
also consider width for tile fallback enforcing
author
Anselm R. Garbe
<garbeam@gmail.com>
Wed, 24 Oct 2007 18:34:08 +0000
(20:34 +0200)
committer
Anselm R. Garbe
<garbeam@gmail.com>
Wed, 24 Oct 2007 18:34:08 +0000
(20:34 +0200)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index f61ce3b664217c25124352421bd68cce0a066a44..862ec240402dd2541cc180cc8e35d80023393547 100644
(file)
--- a/
dwm.c
+++ b/
dwm.c
@@
-1596,7
+1596,8
@@
tile(void) {
nh = th - 2 * c->border;
}
resize(c, nx, ny, nw, nh, True);
- if((c->h < bh) || (c->h > nh)) /* client doesn't accept geometry */
+ if((c->h < bh) || (c->h > nh) || (c->w < bh) || (c->w > nw))
+ /* client doesn't accept geometry, so enforce it */
resize(c, nx, ny, nw, nh, False);
if(n > 1 && th != wah)
ny = c->y + c->h + 2 * c->border;