X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=f2686236d9d0ff92b2d49677ff38fa6964a03843;hb=b79b5facb104a653314577bb7f15824396b9e94b;hp=7c3b28b189eea09033b027a9da5187e3f317e2bb;hpb=a207949b6503546379e3ab727cecc2f3e0cff78d;p=dwm.git diff --git a/client.c b/client.c index 7c3b28b..f268623 100644 --- a/client.c +++ b/client.c @@ -197,13 +197,6 @@ killclient(Arg *arg) } void -lower(Client *c) -{ - XLowerWindow(dpy, c->title); - XLowerWindow(dpy, c->win); -} - -void manage(Window w, XWindowAttributes *wa) { Client *c; @@ -466,12 +459,14 @@ zoom(Arg *arg) { Client *c; - if(!sel) + if(!sel || (arrange != dotile) || sel->isfloat) return; - if(sel == getnext(clients) && sel->next) { + if(sel == getnext(clients)) { if((c = getnext(sel->next))) sel = c; + else + return; } /* pop */