if (IsIconic(hwnd))
if (!cfg.win_name_always && IsIconic(hwnd))
void set_icon (char *title) {    sfree (icon_name);    icon_name = smalloc(1+strlen(title));    strcpy (icon_name, title);    if (IsIconic(hwnd))	SetWindowText (hwnd, title);}