Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Should we also set the icon in the task manager?

  • Loading branch information
slouken committed Jan 3, 2009
1 parent e7e433b commit ca3b566f3392e0d3599cae08bad894c6cee16477
Showing with 4 additions and 1 deletion.
  1. +4 −1 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

0 comments on commit ca3b566

Please sign in to comment.