From: Anselm R. Garbe Date: Mon, 4 Sep 2006 15:21:15 +0000 (+0200) Subject: hotfixing with sanders hint X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=commitdiff_plain;h=95d8423823800cdb9e4ed06f407f2d5deefcaf38 hotfixing with sanders hint --- diff --git a/client.c b/client.c index 81f4280..0b5fb2b 100644 --- a/client.c +++ b/client.c @@ -254,8 +254,10 @@ manage(Window w, XWindowAttributes *wa) clients = c; settitle(c); - if(isvisible(c)) + if(isvisible(c)) { + focus(NULL); sel = c; + } arrange(NULL); XMapWindow(dpy, c->win); XMapWindow(dpy, c->twin);