rem: && (!wwin->flags.inspector_open || wwin->inspector->frame!=awin)
add: && wGetWindowOfInspectorForWindow(wwin) != awin
context: wHideOtherApplications(WWindow *awin){    WWindow *wwin;    WApplication *tapp;#ifdef REDUCE_APPICONS    char *tinstance, *tclass;    unsigned int brokenwin = 0, match = 0;#endif    if (!awin)	return;    wwin = awin->screen_ptr->focused_window;#ifdef REDUCE_APPICONS    if (awin->wm_instance == NULL || awin->wm_class == NULL)	brokenwin++;#endif    while (wwin) {	if (wwin!=awin 	    && wwin->frame->workspace == awin->screen_ptr->current_workspace            && !(wwin->flags.miniaturized||wwin->flags.hidden)            && !wwin->flags.internal_window            && (!wwin->flags.inspector_open || wwin->inspector->frame!=awin)	    && !WFLAGP(wwin, no_hide_others)) {	    #ifdef REDUCE_APPICONS	    match = 0;	    if (!brokenwin) {		if ((tinstance = wwin->wm_instance) == NULL)		    tinstance = "";		if ((tclass = wwin->wm_class) == NULL)		    tclass = "";		if ((strcmp(awin->wm_instance, tinstance) == 0) &&		    (strcmp(awin->wm_class, tclass) == 0) )			match++;	    }#endif	    if (wwin->main_window==None || WFLAGP(wwin, no_appicon)) {		if (!WFLAGP(wwin, no_miniaturizable)) {		    wwin->flags.skip_next_animation = 1;		    wIconifyWindow(wwin);		}	    } else if (wwin->main_window!=None#ifndef REDUCE_APPICONS		       && awin->main_window != wwin->main_window) {#else			&& (awin->main_window != wwin->main_window && !match)) {#endif		tapp = wApplicationOf(wwin->main_window);		if (tapp) {		    tapp->flags.skip_next_animation = 1;		    wHideApplication(tapp);		} else {		    if (!WFLAGP(wwin, no_miniaturizable)) {		    	wwin->flags.skip_next_animation = 1;		   	 wIconifyWindow(wwin);		    }		}	    }	}	wwin = wwin->prev;    }    /*    wSetFocusTo(awin->screen_ptr, awin);     */}