diff options
author | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-16 18:30:25 +0200 |
---|---|---|
committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-08-16 18:30:25 +0200 |
commit | e40448fd6340620354d82d801d975eaa53dbd924 (patch) | |
tree | fb95ee30610432a48c169b351d9e5cc5a4aa9291 /client.c | |
parent | 10bc0ce912eb99fec49d954c80d92e04429ed0ee (diff) |
fixed the issue observed by various people, that clients appeared on empty tags
Diffstat (limited to 'client.c')
-rw-r--r-- | client.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -227,9 +227,7 @@ manage(Window w, XWindowAttributes *wa) { 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 @@ unmanage(Client *c, long state) { XSync(dpy, False); XSetErrorHandler(xerror); XUngrabServer(dpy); - arrange(); + if(state != NormalState) + arrange(); } void |