all repos — dwm @ 5a1a2edf0e584e660e16d2e01094851e0f9161e2

my dwm build

applied anudots [un]ban repair patch
Anselm R. Garbe arg@suckless.org
Mon, 04 Jun 2007 11:37:33 +0200
commit

5a1a2edf0e584e660e16d2e01094851e0f9161e2

parent

b3419f49a315e9ca0d0870878b353fafec1e3e5c

3 files changed, 3 insertions(+), 7 deletions(-)

jump to
M client.cclient.c

@@ -216,8 +216,7 @@ if(!c->isfloating)

c->isfloating = (rettrans == Success) || c->isfixed; attach(c); attachstack(c); - c->isbanned = True; - XMoveWindow(dpy, w, c->x + 2 * sw, c->y); + ban(c); XMapWindow(dpy, w); setclientstate(c, NormalState); focus(c);
M layout.clayout.c

@@ -88,9 +88,7 @@ Client *c;

for(c = clients; c; c = c->next) if(isvisible(c)) { - if(c->isbanned) - XMoveWindow(dpy, c->win, c->x, c->y); - c->isbanned = False; + unban(c); resize(c, c->x, c->y, c->w, c->h, True); } else
M main.cmain.c

@@ -38,8 +38,7 @@ static void

cleanup(void) { close(STDIN_FILENO); while(stack) { - if(stack->isbanned) - XMoveWindow(dpy, stack->win, stack->x, stack->y); + unban(stack); unmanage(stack); } if(dc.font.set)