X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=client.c;h=773b8f82148d993878b177bb371b02e5d0aff269;hb=fde45ebed844c227a17c21d161f60aa55c8b3c41;hp=f92df83bb8a52b07cef20284d699c2bdafe84fa3;hpb=c225e1afc23e6862f9864bad3b7b11399dda36a1;p=dwm.git diff --git a/client.c b/client.c index f92df83..773b8f8 100644 --- a/client.c +++ b/client.c @@ -49,6 +49,8 @@ ban(Client *c) void focus(Client *c) { + if (!issel) + return; Client *old = sel; XEvent ev; @@ -197,13 +199,6 @@ killclient(Arg *arg) } void -lower(Client *c) -{ - XLowerWindow(dpy, c->title); - XLowerWindow(dpy, c->win); -} - -void manage(Window w, XWindowAttributes *wa) { Client *c;