Amazingly the Windows code is almost identical to the Mac OS X code. :)
This commit is contained in:
parent
ff0ba0afa5
commit
ef598b2e7c
8 changed files with 48 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue