summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c
index b741a7e..d4dfe6e 100644
--- a/client.c
+++ b/client.c
@@ -226,6 +226,7 @@ manage(Window w, XWindowAttributes *wa) {
226 c->isfloating = (rettrans == Success) || c->isfixed; 226 c->isfloating = (rettrans == Success) || c->isfixed;
227 attach(c); 227 attach(c);
228 attachstack(c); 228 attachstack(c);
229 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */
229 setclientstate(c, IconicState); 230 setclientstate(c, IconicState);
230 c->isbanned = True; 231 c->isbanned = True;
231 focus(c); 232 focus(c);
@@ -311,7 +312,6 @@ void
311unban(Client *c) { 312unban(Client *c) {
312 if(!c->isbanned) 313 if(!c->isbanned)
313 return; 314 return;
314 XMoveWindow(dpy, c->win, c->x, c->y); /* some windows require this */
315 XMapWindow(dpy, c->win); 315 XMapWindow(dpy, c->win);
316 setclientstate(c, NormalState); 316 setclientstate(c, NormalState);
317 c->isbanned = False; 317 c->isbanned = False;