author | Anselm R. Garbe <garbeam@gmail.com> |
Thu, 16 Aug 2007 18:30:25 +0200 | |
changeset 957 | e61ca30d9474 |
parent 956 | 484245788760 |
child 958 | 8b502be8b8e0 |
--- a/client.c Thu Aug 16 17:55:55 2007 +0200 +++ b/client.c Thu Aug 16 18:30:25 2007 +0200 @@ -227,9 +227,7 @@ attach(c); attachstack(c); XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ - setclientstate(c, IconicState); - c->isbanned = True; - focus(c); + ban(c); arrange(); } @@ -325,7 +323,8 @@ XSync(dpy, False); XSetErrorHandler(xerror); XUngrabServer(dpy); - arrange(); + if(state != NormalState) + arrange(); } void