src/video/nacl/SDL_naclwindow.c
changeset 8873 77ffe680093f
parent 8833 ae720d61d14d
child 8879 f6e4f24df1ac
     1.1 --- a/src/video/nacl/SDL_naclwindow.c	Mon Jun 16 09:47:23 2014 -0300
     1.2 +++ b/src/video/nacl/SDL_naclwindow.c	Mon Jun 16 09:54:33 2014 -0300
     1.3 @@ -51,6 +51,9 @@
     1.4      window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */    
     1.5      window->flags |= SDL_WINDOW_OPENGL;
     1.6    
     1.7 +    SDL_SetMouseFocus(window);
     1.8 +    SDL_SetKeyboardFocus(window);
     1.9 +    
    1.10      return 0;
    1.11  }
    1.12