equal
deleted
inserted
replaced
225 if(!c->isfloating) |
225 if(!c->isfloating) |
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 XMoveResizeWindow(dpy, c->win, c->x, c->y, c->w, c->h); /* some windows require this */ |
230 setclientstate(c, IconicState); |
230 ban(c); |
231 c->isbanned = True; |
|
232 focus(c); |
|
233 arrange(); |
231 arrange(); |
234 } |
232 } |
235 |
233 |
236 void |
234 void |
237 resize(Client *c, int x, int y, int w, int h, Bool sizehints) { |
235 resize(Client *c, int x, int y, int w, int h, Bool sizehints) { |
323 free(c->tags); |
321 free(c->tags); |
324 free(c); |
322 free(c); |
325 XSync(dpy, False); |
323 XSync(dpy, False); |
326 XSetErrorHandler(xerror); |
324 XSetErrorHandler(xerror); |
327 XUngrabServer(dpy); |
325 XUngrabServer(dpy); |
328 arrange(); |
326 if(state != NormalState) |
|
327 arrange(); |
329 } |
328 } |
330 |
329 |
331 void |
330 void |
332 updatesizehints(Client *c) { |
331 updatesizehints(Client *c) { |
333 long msize; |
332 long msize; |