# HG changeset patch # User Anselm R. Garbe # Date 1157382133 -7200 # Node ID 6413ea66b1c2496cfc2173fe58df67cb965eb1da # Parent c7d5ff57998d40be1a9c0273410ae4b9acacb00d fixing the issue that new clients appear lowered diff -r c7d5ff57998d -r 6413ea66b1c2 client.c --- a/client.c Mon Sep 04 12:23:41 2006 +0200 +++ b/client.c Mon Sep 04 17:02:13 2006 +0200 @@ -254,6 +254,8 @@ clients = c; settitle(c); + if(isvisible(c)) + sel = c; arrange(NULL); XMapWindow(dpy, c->win); XMapWindow(dpy, c->twin);