X-Git-Url: https://git.xinqibao.xyz/dwm.git/blobdiff_plain/ac24f132dba7e59d9d9ff98d984f5e0b0d20fd09..d108cfa7fc47000af49e70a49e865b9eb236c57d:/client.c?ds=sidebyside diff --git a/client.c b/client.c index a6b7815..8110263 100644 --- a/client.c +++ b/client.c @@ -96,7 +96,7 @@ focus(Client *c) { sel = c; if(old) { grabbuttons(old, False); - drawtitle(old); + drawclient(old); } } if(c) { @@ -104,7 +104,7 @@ focus(Client *c) { c->snext = stack; stack = c; grabbuttons(c, True); - drawtitle(c); + drawclient(c); XSetInputFocus(dpy, c->win, RevertToPointerRoot, CurrentTime); } else