From 01419057d7eff7d4984dbb04b0f3ab28a1a9d549 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Sat, 3 Jan 2009 01:20:55 +0000 Subject: [PATCH] Should we also set the icon in the task manager? --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403433 --- src/video/win32/SDL_win32window.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/video/win32/SDL_win32window.c b/src/video/win32/SDL_win32window.c index 2fd541056..a3eea4772 100644 --- a/src/video/win32/SDL_win32window.c +++ b/src/video/win32/SDL_win32window.c @@ -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