Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Should we also set the icon in the task manager?
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Jan 3, 2009
1 parent e7e433b commit ca3b566
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/video/win32/SDL_win32window.c
Expand Up @@ -366,8 +366,11 @@ WIN_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon)
SDL_stack_free(icon_bmp);
}

/* Set the icon */
/* Set the icon for the window */
SendMessage(hwnd, WM_SETICON, ICON_SMALL, (LPARAM)hicon);

/* Set the icon in the task manager (should we do this?) */
SendMessage(hwnd, WM_SETICON, ICON_BIG, (LPARAM)hicon);
}

void
Expand Down

0 comments on commit ca3b566

Please sign in to comment.