src/joystick/win32/SDL_dxjoystick.c
branchgsoc2008_force_feedback
changeset 2580 64fa227c01ce
parent 2579 bd2a6c70cb29
child 2616 acd5da848404
     1.1 --- a/src/joystick/win32/SDL_dxjoystick.c	Sun Aug 03 10:25:25 2008 +0000
     1.2 +++ b/src/joystick/win32/SDL_dxjoystick.c	Mon Aug 04 11:22:01 2008 +0000
     1.3 @@ -67,7 +67,7 @@
     1.4  
     1.5  /* external variables referenced. */
     1.6  extern HINSTANCE SDL_Instance;
     1.7 -extern HWND SDL_Window;
     1.8 +extern HWND SDL_HelperWindow;
     1.9  
    1.10  
    1.11  /* local variables */
    1.12 @@ -250,7 +250,7 @@
    1.13       * though. */
    1.14      result =
    1.15          IDirectInputDevice2_SetCooperativeLevel(joystick->hwdata->
    1.16 -                                                InputDevice, SDL_Window,
    1.17 +                                                InputDevice, SDL_HelperWindow,
    1.18                                                  DISCL_EXCLUSIVE |
    1.19                                                  DISCL_BACKGROUND);
    1.20      if (FAILED(result)) {