changeset 4748 | d1ce08e2697f |
parent 4747 | 5284a3b3217a |
child 4750 | 22aa6a631d34 |
--- a/src/video/win32/SDL_win32keyboard.c Tue Jul 06 02:34:49 2010 -0400 +++ b/src/video/win32/SDL_win32keyboard.c Tue Jul 06 03:27:22 2010 -0400 @@ -125,7 +125,8 @@ void WIN_StartTextInput(_THIS) { - HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd; + SDL_Window *window = SDL_GetKeyboardFocus(); + HWND hwnd = ((SDL_WindowData *) window->driverdata)->hwnd; }