setmwfact and zoom check isarrange(floating) now, not !isarrange(tile) - this makes it easier to play well with bstack and nmtile patches
This commit is contained in:
parent
b0477c3017
commit
60444daa70
4
dwm.c
4
dwm.c
|
@ -1398,7 +1398,7 @@ void
|
||||||
setmwfact(const char *arg) {
|
setmwfact(const char *arg) {
|
||||||
double delta;
|
double delta;
|
||||||
|
|
||||||
if(!isarrange(tile))
|
if(isarrange(floating))
|
||||||
return;
|
return;
|
||||||
/* arg handling, manipulate mwfact */
|
/* arg handling, manipulate mwfact */
|
||||||
if(arg == NULL)
|
if(arg == NULL)
|
||||||
|
@ -1850,7 +1850,7 @@ void
|
||||||
zoom(const char *arg) {
|
zoom(const char *arg) {
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
if(!sel || !isarrange(tile) || sel->isfloating)
|
if(!sel || isarrange(floating) || sel->isfloating)
|
||||||
return;
|
return;
|
||||||
if((c = sel) == nexttiled(clients))
|
if((c = sel) == nexttiled(clients))
|
||||||
if(!(c = nexttiled(c->next)))
|
if(!(c = nexttiled(c->next)))
|
||||||
|
|
Loading…
Reference in New Issue