X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=f2686236d9d0ff92b2d49677ff38fa6964a03843;hb=b79b5facb104a653314577bb7f15824396b9e94b;hp=653141076c3d138ea0f63229b1d534b948f9d1f4;hpb=f4208e7cacd56de70d50218a0b5ace83e39b76a6;p=dwm.git diff --git a/client.c b/client.c index 6531410..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; @@ -469,9 +462,11 @@ zoom(Arg *arg) 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 */