src/video/wayland/SDL_waylandmouse.c
changeset 8815 c6d0a457f3b2
parent 8721 d73e451f1dc5
child 9136 64fcdfcd5bca
     1.1 --- a/src/video/wayland/SDL_waylandmouse.c	Wed Jun 04 10:52:34 2014 -0700
     1.2 +++ b/src/video/wayland/SDL_waylandmouse.c	Wed Jun 04 10:55:26 2014 -0700
     1.3 @@ -345,7 +345,12 @@
     1.4  Wayland_WarpMouse(SDL_Window *window, int x, int y)
     1.5  {
     1.6      SDL_Unsupported();
     1.7 -    return;
     1.8 +}
     1.9 +
    1.10 +static void
    1.11 +Wayland_WarpMouseGlobal(int x, int y)
    1.12 +{
    1.13 +    SDL_Unsupported();
    1.14  }
    1.15  
    1.16  static int
    1.17 @@ -365,6 +370,7 @@
    1.18      mouse->ShowCursor = Wayland_ShowCursor;
    1.19      mouse->FreeCursor = Wayland_FreeCursor;
    1.20      mouse->WarpMouse = Wayland_WarpMouse;
    1.21 +    mouse->WarpMouseGlobal = Wayland_WarpMouseGlobal;
    1.22      mouse->SetRelativeMouseMode = Wayland_SetRelativeMouseMode;
    1.23  
    1.24      SDL_SetDefaultCursor(Wayland_CreateDefaultCursor());