X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/67a1141f44bc19afeda19fb6544270a65419b3b3..7e476fb86ba254e6fe3a916ed7b5298e432a469c:/client.c?ds=inline 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(); }