rem: wClientSetState(tmp, IconicState, None); #ifdef KWM_HINTS wKWMUpdateClientStateHint(tmp, KWMIconifiedFlag); wKWMSendEventMessage(tmp, WKWMRemoveWindow); tmp->flags.kwm_hidden_for_modules = 1; #endif  UpdateSwitchMenu(wwin->screen_ptr, tmp, ACTION_CHANGE_STATE);
add: wClientSetState(tmp, IconicState, None);  WMPostNotificationName(WMNChangedState, tmp, "iconify-transient");
context: unmapTransientsFor(WWindow *wwin){    WWindow *tmp;        tmp = wwin->screen_ptr->focused_window;    while (tmp) {	/* unmap the transients for this transient */	if (tmp!=wwin && tmp->transient_for == wwin->client_win	    && (tmp->flags.mapped || wwin->screen_ptr->flags.startup		|| tmp->flags.shaded)) {	    unmapTransientsFor(tmp);	    tmp->flags.miniaturized = 1;	    if (!tmp->flags.shaded) {		wWindowUnmap(tmp);	    } else {		XUnmapWindow(dpy, tmp->frame->core->window);	    }	    /*	    if (!tmp->flags.shaded)	     */		wClientSetState(tmp, IconicState, None);#ifdef KWM_HINTS	    wKWMUpdateClientStateHint(tmp, KWMIconifiedFlag);	    wKWMSendEventMessage(tmp, WKWMRemoveWindow);	    tmp->flags.kwm_hidden_for_modules = 1;#endif	    UpdateSwitchMenu(wwin->screen_ptr, tmp, ACTION_CHANGE_STATE);	}	tmp = tmp->prev;    }}