all repos — dwm @ e40448fd6340620354d82d801d975eaa53dbd924

my dwm build

fixed the issue observed by various people, that clients appeared on empty tags
Anselm R. Garbe garbeam@gmail.com
Thu, 16 Aug 2007 18:30:25 +0200
commit

e40448fd6340620354d82d801d975eaa53dbd924

parent

10bc0ce912eb99fec49d954c80d92e04429ed0ee

1 files changed, 3 insertions(+), 4 deletions(-)

jump to
M client.cclient.c

@@ -227,9 +227,7 @@ c->isfloating = (rettrans == Success) || c->isfixed;

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 @@ free(c);

XSync(dpy, False); XSetErrorHandler(xerror); XUngrabServer(dpy); - arrange(); + if(state != NormalState) + arrange(); } void