Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_sysevents.c @ 1280:f61f045343d3
Re-query the SDL_WINDOWID each time we initialize the video
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 29 Jan 2006 06:11:38 +0000 |
parents | 94c0709f8856 |
children | 217f5d5a49e5 |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c Sat Jan 28 05:47:11 2006 +0000 +++ b/src/video/wincommon/SDL_sysevents.c Sun Jan 29 06:11:38 2006 +0000 @@ -672,7 +672,7 @@ } /* This allows the SDL_WINDOWID hack */ -const char *SDL_windowid = NULL; +BOOL SDL_windowid = FALSE; static int app_registered = 0; @@ -743,9 +743,6 @@ } #endif /* WM_MOUSELEAVE */ - /* Check for SDL_WINDOWID hack */ - SDL_windowid = getenv("SDL_WINDOWID"); - #ifndef NO_GETKEYBOARDSTATE /* Initialise variables for SDL_ToUnicode() */ codepage = GetCodePage();