hotfix
2e68f221
1 file(s) · +1 −1
| 418 | 418 | XSetErrorHandler(xerrordummy); |
|
| 419 | 419 | ||
| 420 | 420 | detach(c); |
|
| 421 | + | detachstack(c); |
|
| 421 | 422 | if(sel == c) { |
|
| 422 | 423 | for(sel = stack; sel && !isvisible(sel); sel = sel->snext); |
|
| 423 | 424 | focus(sel); |
|
| 426 | 427 | XUngrabButton(dpy, AnyButton, AnyModifier, c->win); |
|
| 427 | 428 | XDestroyWindow(dpy, c->twin); |
|
| 428 | 429 | ||
| 429 | - | detachstack(c); |
|
| 430 | 430 | free(c->tags); |
|
| 431 | 431 | free(c); |
|
| 432 | 432 | ||