src/video/nacl/SDL_naclwindow.c
changeset 8873 77ffe680093f
parent 8833 ae720d61d14d
child 8879 f6e4f24df1ac
equal deleted inserted replaced
8872:5a6375d96834 8873:77ffe680093f
    49     window->flags &= ~SDL_WINDOW_HIDDEN;
    49     window->flags &= ~SDL_WINDOW_HIDDEN;
    50     window->flags |= SDL_WINDOW_SHOWN;          /* only one window on NaCl */
    50     window->flags |= SDL_WINDOW_SHOWN;          /* only one window on NaCl */
    51     window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */    
    51     window->flags |= SDL_WINDOW_INPUT_FOCUS;    /* always has input focus */    
    52     window->flags |= SDL_WINDOW_OPENGL;
    52     window->flags |= SDL_WINDOW_OPENGL;
    53   
    53   
       
    54     SDL_SetMouseFocus(window);
       
    55     SDL_SetKeyboardFocus(window);
       
    56     
    54     return 0;
    57     return 0;
    55 }
    58 }
    56 
    59 
    57 void
    60 void
    58 NACL_SetWindowTitle(_THIS, SDL_Window * window)
    61 NACL_SetWindowTitle(_THIS, SDL_Window * window)