void ui_hide_roster(void) { ProfWin *window = wins_get_console(); if (window && win_has_active_subwin(window)) { wins_hide_subwin(window); } }
void mucwin_hide_occupants(ProfMucWin *mucwin) { assert(mucwin != NULL); ProfWin *window = (ProfWin*)mucwin; if (win_has_active_subwin(window)) { wins_hide_subwin(window); } }