applied Jukka's zoom-patch
parent
e0f0397896
commit
4426032450
4
dwm.c
4
dwm.c
|
@ -2009,11 +2009,11 @@ viewprevtag(const char *arg) {
|
||||||
|
|
||||||
void
|
void
|
||||||
zoom(const char *arg) {
|
zoom(const char *arg) {
|
||||||
Client *c;
|
Client *c = sel;
|
||||||
|
|
||||||
if(!sel || !dozoom || sel->isfloating)
|
if(!sel || !dozoom || sel->isfloating)
|
||||||
return;
|
return;
|
||||||
if((c = sel) == nexttiled(clients, c->monitor))
|
if(c == nexttiled(clients, c->monitor))
|
||||||
if(!(c = nexttiled(c->next, c->monitor)))
|
if(!(c = nexttiled(c->next, c->monitor)))
|
||||||
return;
|
return;
|
||||||
detach(c);
|
detach(c);
|
||||||
|
|
Loading…
Reference in New Issue