fixing the issue that new clients appear lowered
e316cf53
1 file(s) · +2 −0
| 254 | 254 | clients = c; |
|
| 255 | 255 | ||
| 256 | 256 | settitle(c); |
|
| 257 | + | if(isvisible(c)) |
|
| 258 | + | sel = c; |
|
| 257 | 259 | arrange(NULL); |
|
| 258 | 260 | XMapWindow(dpy, c->win); |
|
| 259 | 261 | XMapWindow(dpy, c->twin); |