aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorAnselm R. Garbe <arg@suckless.org>2007-06-04 11:37:33 +0200
committerAnselm R. Garbe <arg@suckless.org>2007-06-04 11:37:33 +0200
commit5a1a2edf0e584e660e16d2e01094851e0f9161e2 (patch)
treeb56870066ccdb6459ec96dcf5d2facef20ae1e16 /client.c
parentb3419f49a315e9ca0d0870878b353fafec1e3e5c (diff)
downloaddwm-5a1a2edf0e584e660e16d2e01094851e0f9161e2.tar
dwm-5a1a2edf0e584e660e16d2e01094851e0f9161e2.tar.gz
dwm-5a1a2edf0e584e660e16d2e01094851e0f9161e2.tar.bz2
applied anudots [un]ban repair patch
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 1 insertions, 2 deletions
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);