rem: panel->frame->flags.mapped = 0;
add: wWindowUnmap(panel->frame);
context: destroyInspector(WCoreWindow *foo, void *data, XEvent *event){    InspectorPanel *panel;    InspectorPanel *tmp;    panel = panelList;    while (panel->frame!=data)	panel = panel->nextPtr;        if (panelList == panel) 	panelList = panel->nextPtr;    else {	tmp = panelList;	while (tmp->nextPtr!=panel) {	    tmp = tmp->nextPtr;	}	tmp->nextPtr = panel->nextPtr;    }    panel->inspected->flags.inspector_open = 0;    panel->inspected->inspector = NULL;    WMRemoveNotificationObserver(panel);    panel->frame->flags.mapped = 0;    wUnmanageWindow(panel->frame, True, False);    freeInspector(panel);}