X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=client.c;h=06bc9d88feb773e790c60f87a9326de15863ce68;hp=adf422e9934c800a39b946e3d95b80736f4b521d;hb=5a1a2edf0e584e660e16d2e01094851e0f9161e2;hpb=b3419f49a315e9ca0d0870878b353fafec1e3e5c diff --git a/client.c b/client.c index adf422e..06bc9d8 100644 --- a/client.c +++ b/client.c @@ -216,8 +216,7 @@ manage(Window w, XWindowAttributes *wa) { 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);