diff options
| author | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-31 18:22:13 +0200 |
|---|---|---|
| committer | Anselm R. Garbe <garbeam@gmail.com> | 2007-07-31 18:22:13 +0200 |
| commit | 28c10330bd2e1830005602efe79db9218dbe9dc9 (patch) | |
| tree | 8dae6f6df79ec2349b9977bef336155bd444056d | |
| parent | foo (diff) | |
| download | dwm-28c10330bd2e1830005602efe79db9218dbe9dc9.tar.gz dwm-28c10330bd2e1830005602efe79db9218dbe9dc9.zip | |
changed the fix of yesterday, the resize should only be necessary at manage() time, not on any unban()
| -rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | |||
| 311 | unban(Client *c) { | 312 | unban(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; |
