[wmfs.c,.h] Fix bug/segfault (when you switched into the tags, and close a clients, you could close an hidden client, and make a segfault if you return on the hidden client tag.)
This commit is contained in:
parent
eb1e708346
commit
126d3eaef9
4
wmfs.c
4
wmfs.c
@ -1060,9 +1060,9 @@ unmanage(Client *c)
|
||||
sel = (sel == c) ? c->next : NULL;
|
||||
if(conf.ttbarheight)
|
||||
{
|
||||
XUnmapWindow(dpy, c->tbar);
|
||||
// XUnmapWindow(dpy, c->tbar);
|
||||
XDestroyWindow(dpy, c->tbar);
|
||||
XUnmapWindow(dpy, c->button);
|
||||
// XUnmapWindow(dpy, c->button);
|
||||
XDestroyWindow(dpy, c->button);
|
||||
}
|
||||
detach(c);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user