rem: WWindow *pwin = wwin->inspector->frame;  wWindowUnmap(pwin); pwin->flags.hidden = 1;  wClientSetState(pwin, IconicState, icon->icon_win);
add: wHideInspectorForWindow(wwin);
context: hideWindow(WIcon *icon, int icon_x, int icon_y, WWindow *wwin, int animate){    if (wwin->flags.miniaturized) {	if (wwin->icon) { 	    XUnmapWindow(dpy, wwin->icon->core->window);	    wwin->icon->mapped = 0;	}	wwin->flags.hidden = 1;#ifdef GNOME_STUFF	wGNOMEUpdateClientStateHint(wwin, False);#endif	UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_STATE);	return;    }    if (wwin->flags.inspector_open) {        WWindow *pwin = wwin->inspector->frame;	wWindowUnmap(pwin);        pwin->flags.hidden = 1;        wClientSetState(pwin, IconicState, icon->icon_win);    }    wwin->flags.hidden = 1;    wWindowUnmap(wwin);    wClientSetState(wwin, IconicState, icon->icon_win);    flushExpose();#ifdef WMSOUND    wSoundPlay(WMSOUND_HIDE);#endif#ifdef ANIMATIONS    if (!wwin->screen_ptr->flags.startup && !wPreferences.no_animations &&	!wwin->flags.skip_next_animation && animate) {	animateResize(wwin->screen_ptr, wwin->frame_x, wwin->frame_y, 		      wwin->frame->core->width, wwin->frame->core->height,		      icon_x, icon_y, icon->core->width, icon->core->height,		      True);    }#endif    wwin->flags.skip_next_animation = 0;#ifdef GNOME_STUFF    wGNOMEUpdateClientStateHint(wwin, False);#endif    UpdateSwitchMenu(wwin->screen_ptr, wwin, ACTION_CHANGE_STATE);}