From e316cf53f618dd1dd82828ca5c4e566968473f3a Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Mon, 4 Sep 2006 17:02:13 +0200 Subject: fixing the issue that new clients appear lowered --- client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client.c') diff --git a/client.c b/client.c index 8a8a99e..81f4280 100644 --- a/client.c +++ b/client.c @@ -254,6 +254,8 @@ manage(Window w, XWindowAttributes *wa) clients = c; settitle(c); + if(isvisible(c)) + sel = c; arrange(NULL); XMapWindow(dpy, c->win); XMapWindow(dpy, c->twin); -- cgit v1.2.3-13-gbd6f