# HG changeset patch # User Anselm R. Garbe # Date 1187281825 -7200 # Node ID e61ca30d9474c04af663fc6ec5da7531ce35003c # Parent 484245788760ef850a021c91ebbd913aa195aaa9 fixed the issue observed by various people, that clients appeared on empty tags diff -r 484245788760 -r e61ca30d9474 client.c --- 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