comparison src/video/win32/SDL_win32events.c @ 4504:9faebccfefb3

Amazingly the Windows code is almost identical to the Mac OS X code. :)
author Sam Lantinga <slouken@libsdl.org>
date Thu, 08 Jul 2010 23:07:34 -0700
parents eff4e88cc1e8
children 95352c671a6e 03dcb795c583 436183eb30c8
comparison
equal deleted inserted replaced
4503:524dfefd554c 4504:9faebccfefb3
160 } 160 }
161 #endif 161 #endif
162 if (SDL_GetKeyboardFocus() != data->window) { 162 if (SDL_GetKeyboardFocus() != data->window) {
163 SDL_SetKeyboardFocus(data->window); 163 SDL_SetKeyboardFocus(data->window);
164 } 164 }
165 /* FIXME: Update keyboard state */ 165 /*
166 * FIXME: Update keyboard state
167 */
168 WIN_CheckClipboardUpdate(data->videodata);
166 } else { 169 } else {
167 if (SDL_GetKeyboardFocus() == data->window) { 170 if (SDL_GetKeyboardFocus() == data->window) {
168 SDL_SetKeyboardFocus(NULL); 171 SDL_SetKeyboardFocus(NULL);
169 } 172 }
170 if (minimized) { 173 if (minimized) {