Should we also set the icon in the task manager?
authorSam Lantinga <slouken@libsdl.org>
Sat, 03 Jan 2009 01:20:55 +0000
changeset 2971 a3012c6652ff
parent 2970 94b634c56455
child 2972 0a4b70368372
Should we also set the icon in the task manager?
src/video/win32/SDL_win32window.c
--- a/src/video/win32/SDL_win32window.c	Sat Jan 03 01:01:53 2009 +0000
+++ b/src/video/win32/SDL_win32window.c	Sat Jan 03 01:20:55 2009 +0000
@@ -366,8 +366,11 @@
         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