diff -r 208bc571f949 -r 011c5cc195cc hedgewars/uStore.pas --- a/hedgewars/uStore.pas Fri Nov 13 22:35:26 2015 +0100 +++ b/hedgewars/uStore.pas Fri Nov 13 23:46:19 2015 +0100 @@ -1084,6 +1084,15 @@ SDLwindow:= SDL_CreateWindow(PChar('Hedgewars'), x, y, cScreenWidth, cScreenHeight, flags); SDLTry(SDLwindow <> nil, 'SDL_CreateWindow', true); + // load engine ico + {$IFNDEF DARWIN} + ico:= LoadDataImage(ptGraphics, 'hwengine', ifIgnoreCaps); + if ico <> nil then + begin + SDL_SetWindowIcon(SDLwindow, ico); + SDL_FreeSurface(ico); + end; + {$ENDIF} SetupOpenGL(); if reinit then