src/video/android/SDL_androidwindow.c
changeset 6651 17ef8a7cab55
parent 6330 0fa55ca2efdd
child 6654 2ecfb25be1e2
     1.1 --- a/src/video/android/SDL_androidwindow.c	Sun Nov 04 13:49:32 2012 -0800
     1.2 +++ b/src/video/android/SDL_androidwindow.c	Sun Nov 04 20:11:51 2012 -0800
     1.3 @@ -50,6 +50,10 @@
     1.4      window->flags |= SDL_WINDOW_SHOWN;          /* only one window on Android */
     1.5      window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */    
     1.6  
     1.7 +    /* One window, it always has focus */
     1.8 +    SDL_SetMouseFocus(window);
     1.9 +    //SDL_SetKeyboardFocus(window);
    1.10 +
    1.11      return 0;
    1.12  }
    1.13