setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches 60444daa
Anselm R. Garbe · 2007-09-22 21:34 1 file(s) · +2 −2
dwm.c +2 −2
1398 1398
setmwfact(const char *arg) {
1399 1399
	double delta;
1400 1400
1401 -
	if(!isarrange(tile))
1401 +
	if(isarrange(floating))
1402 1402
		return;
1403 1403
	/* arg handling, manipulate mwfact */
1404 1404
	if(arg == NULL)
1850 1850
zoom(const char *arg) {
1851 1851
	Client *c;
1852 1852
1853 -
	if(!sel || !isarrange(tile) || sel->isfloating)
1853 +
	if(!sel || isarrange(floating) || sel->isfloating)
1854 1854
		return;
1855 1855
	if((c = sel) == nexttiled(clients))
1856 1856
		if(!(c = nexttiled(c->next)))