src/SDL_compat.c
branchgsoc2008_manymouse
changeset 3776 a9c2a7071874
parent 2328 91e601d9df8b
child 2735 204be4fc2726
     1.1 --- a/src/SDL_compat.c	Tue Aug 05 14:18:40 2008 +0000
     1.2 +++ b/src/SDL_compat.c	Wed Aug 06 08:48:43 2008 +0000
     1.3 @@ -256,7 +256,7 @@
     1.4              }
     1.5  
     1.6              selected = SDL_SelectMouse(event->wheel.which);
     1.7 -            SDL_GetMouseState(&x, &y);
     1.8 +            SDL_GetMouseState(selected, &x, &y);
     1.9              SDL_SelectMouse(selected);
    1.10  
    1.11              if (event->wheel.y > 0) {