rem: wClientSetState(tmp, NormalState, None); #ifdef KWM_HINTS wKWMUpdateClientStateHint(tmp, KWMIconifiedFlag); if (tmp->flags.kwm_hidden_for_modules) { wKWMSendEventMessage(tmp, WKWMAddWindow); tmp->flags.kwm_hidden_for_modules = 0; } #endif  UpdateSwitchMenu(wwin->screen_ptr, tmp, ACTION_CHANGE_STATE);
add: wClientSetState(tmp, NormalState, None);  WMPostNotificationName(WMNChangedState, tmp, "iconify-transient");
context: mapTransientsFor(WWindow *wwin){    WWindow *tmp;    tmp = wwin->screen_ptr->focused_window;    while (tmp) {	/* recursively map the transients for this transient */	if (tmp!=wwin && tmp->transient_for == wwin->client_win	    && /*!tmp->flags.mapped*/ tmp->flags.miniaturized 	    && tmp->icon==NULL) {	    mapTransientsFor(tmp);	    tmp->flags.miniaturized = 0;	    if (!tmp->flags.shaded) {		wWindowMap(tmp);	    } else {		XMapWindow(dpy, tmp->frame->core->window);	    } 	    tmp->flags.semi_focused = 0;	    /*	    if (!tmp->flags.shaded)	     */		wClientSetState(tmp, NormalState, None);#ifdef KWM_HINTS	    wKWMUpdateClientStateHint(tmp, KWMIconifiedFlag);	    if (tmp->flags.kwm_hidden_for_modules) {		wKWMSendEventMessage(tmp, WKWMAddWindow);		tmp->flags.kwm_hidden_for_modules = 0;	    }#endif	    UpdateSwitchMenu(wwin->screen_ptr, tmp, ACTION_CHANGE_STATE);	}	tmp = tmp->prev;    }}