simplified manage
f15f45a9
1 file(s) · +2 −5
| 254 | 254 | clients = c; |
|
| 255 | 255 | ||
| 256 | 256 | settitle(c); |
|
| 257 | - | if(isvisible(c)) { |
|
| 258 | - | focus(NULL); |
|
| 259 | - | sel = c; |
|
| 260 | - | } |
|
| 261 | - | arrange(NULL); |
|
| 257 | + | ban(c); |
|
| 262 | 258 | XMapWindow(dpy, c->win); |
|
| 263 | 259 | XMapWindow(dpy, c->twin); |
|
| 264 | 260 | if(isvisible(c)) |
|
| 265 | 261 | focus(c); |
|
| 262 | + | arrange(NULL); |
|
| 266 | 263 | } |
|
| 267 | 264 | ||
| 268 | 265 | void |