Amazingly the Windows code is almost identical to the Mac OS X code. :)

This commit is contained in:
Sam Lantinga 2010-07-08 23:07:34 -07:00
parent ff0ba0afa5
commit ef598b2e7c
8 changed files with 48 additions and 6 deletions

View file

@ -162,7 +162,10 @@ WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
if (SDL_GetKeyboardFocus() != data->window) {
SDL_SetKeyboardFocus(data->window);
}
/* FIXME: Update keyboard state */
/*
* FIXME: Update keyboard state
*/
WIN_CheckClipboardUpdate(data->videodata);
} else {
if (SDL_GetKeyboardFocus() == data->window) {
SDL_SetKeyboardFocus(NULL);