also consider width for tile fallback enforcing - dwm - dynamic window manager HTML git clone https://git.parazyd.org/dwm DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 5473e763f6ed7f2f248bc980c0b210edbcc1393c DIR parent cdd6c3e820a360aaca1e8cd9c4b882bac1448261 HTML Author: Anselm R. Garbe <garbeam@gmail.com> Date: Wed, 24 Oct 2007 20:34:08 +0200 also consider width for tile fallback enforcing Diffstat: M dwm.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- DIR diff --git 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;