pinosaur
/
dwm.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10bc0ce
)
fixed the issue observed by various people, that clients appeared on empty tags
author
Anselm R. Garbe
<garbeam@gmail.com>
Thu, 16 Aug 2007 16:30:25 +0000
(18:30 +0200)
committer
Anselm R. Garbe
<garbeam@gmail.com>
Thu, 16 Aug 2007 16:30:25 +0000
(18:30 +0200)
client.c
patch
|
blob
|
history
diff --git
a/client.c
b/client.c
index
22408f2
..
c6cf770
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-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