changeset: 957:e61ca30d9474
tag: tip
user: Anselm R. Garbe <garbeam_AT_gmail.com>
date: Thu Aug 16 18:30:25 2007 +0200
summary: 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 @@ 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
Received on Thu Aug 16 2007 - 18:32:07 UTC
This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 15:57:55 UTC