src/video/SDL_sysvideo.h
changeset 6662 698c2e533a7e
parent 6654 2ecfb25be1e2
child 6681 5a0396a933b5
child 8340 e470405f3ae9
     1.1 --- a/src/video/SDL_sysvideo.h	Wed Nov 07 11:13:28 2012 -0800
     1.2 +++ b/src/video/SDL_sysvideo.h	Wed Nov 07 15:55:43 2012 -0800
     1.3 @@ -191,7 +191,7 @@
     1.4      void (*SetWindowFullscreen) (_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
     1.5      int (*SetWindowGammaRamp) (_THIS, SDL_Window * window, const Uint16 * ramp);
     1.6      int (*GetWindowGammaRamp) (_THIS, SDL_Window * window, Uint16 * ramp);
     1.7 -    void (*SetWindowGrab) (_THIS, SDL_Window * window);
     1.8 +    void (*SetWindowGrab) (_THIS, SDL_Window * window, SDL_bool grabbed);
     1.9      void (*DestroyWindow) (_THIS, SDL_Window * window);
    1.10      int (*CreateWindowFramebuffer) (_THIS, SDL_Window * window, Uint32 * format, void ** pixels, int *pitch);
    1.11      int (*UpdateWindowFramebuffer) (_THIS, SDL_Window * window, SDL_Rect * rects, int numrects);
    1.12 @@ -364,6 +364,7 @@
    1.13  extern void SDL_OnWindowRestored(SDL_Window * window);
    1.14  extern void SDL_OnWindowFocusGained(SDL_Window * window);
    1.15  extern void SDL_OnWindowFocusLost(SDL_Window * window);
    1.16 +extern void SDL_UpdateWindowGrab(SDL_Window * window);
    1.17  extern SDL_Window * SDL_GetFocusWindow(void);
    1.18  
    1.19  #endif /* _SDL_sysvideo_h */