fixing the issue that new clients appear lowered - dwm - dynamic window manager (HTM) git clone https://git.parazyd.org/dwm (DIR) Log (DIR) Files (DIR) Refs (DIR) README (DIR) LICENSE --- (DIR) commit e316cf53f618dd1dd82828ca5c4e566968473f3a (DIR) parent c107db57db9529c699e6aa5fc1c31a37be06f94e (HTM) Author: Anselm R. Garbe <arg@10kloc.org> Date: Mon, 4 Sep 2006 17:02:13 +0200 fixing the issue that new clients appear lowered Diffstat: M client.c | 2 ++ 1 file changed, 2 insertions(+), 0 deletions(-) --- (DIR) diff --git 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);