X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=c716625533a1d83f003ca42ef60c9469155538c6;hp=a1055148cb3304dfed4f694fffee4a1497718ca2;hb=2091200c957783deed032380d56c4199a23c6b81;hpb=67a1141f44bc19afeda19fb6544270a65419b3b3 diff --git a/client.c b/client.c index a105514..c716625 100644 --- a/client.c +++ b/client.c @@ -145,7 +145,7 @@ focus(Client *c) { grabbuttons(c, True); } sel = c; - drawstatus(); + drawbar(); if(!selscreen) return; if(c) { @@ -229,6 +229,7 @@ manage(Window w, XWindowAttributes *wa) { XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ ban(c); XMapWindow(dpy, c->win); + setclientstate(c, NormalState); arrange(); }