* Notifies the user that maybe he should have a look. */
| 880 | * Notifies the user that maybe he should have a look. |
| 881 | */ |
| 882 | void flashWindow() |
| 883 | { |
| 884 | #ifdef _WIN32 |
| 885 | SDL_SysWMinfo wminfo; |
| 886 | SDL_VERSION(&wminfo.version) |
| 887 | if (SDL_GetWMInfo(&wminfo)) |
| 888 | { |
| 889 | HWND hwnd = wminfo.window; |
| 890 | FlashWindow(hwnd, true); |
| 891 | } |
| 892 | #endif |
| 893 | } |
| 894 | |
| 895 | /** |
| 896 | * Gets the executable path in DOS-style (short) form. |