also consider width for tile fallback enforcing 5473e763
Anselm R. Garbe · 2007-10-24 20:34 1 file(s) · +2 −1
dwm.c +2 −1
1596 1596
				nh = th - 2 * c->border;
1597 1597
		}
1598 1598
		resize(c, nx, ny, nw, nh, True);
1599 -
		if((c->h < bh) || (c->h > nh)) /* client doesn't accept geometry */
1599 +
		if((c->h < bh) || (c->h > nh) || (c->w < bh) || (c->w > nw))
1600 +
			/* client doesn't accept geometry, so enforce it */
1600 1601
			resize(c, nx, ny, nw, nh, False);
1601 1602
		if(n > 1 && th != wah)
1602 1603
			ny = c->y + c->h + 2 * c->border;