X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=layout.c;h=abdf30fdb8c2493dd9824c455ff0cc755a2ece9c;hb=8439369db9e340bf260efb1c29282ccb5d224194;hp=47e9e49f17a01fb8e5ff3f33b5bf7f6d5131f578;hpb=81658eaab3a0e1532543ab08a415cab3a044c0dd;p=dwm.git diff --git a/layout.c b/layout.c index 47e9e49..abdf30f 100644 --- a/layout.c +++ b/layout.c @@ -247,7 +247,7 @@ void zoom(const char *arg) { Client *c; - if(!sel || lt->arrange != tile || sel->isfloating) + if(!sel || lt->arrange == floating || sel->isfloating) return; if((c = sel) == nexttiled(clients)) if(!(c = nexttiled(c->next)))