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