Skip to content

Commit

Permalink
Absolute mouse position was given as relative movement to SDL
Browse files Browse the repository at this point in the history
  • Loading branch information
pmandin committed Aug 3, 2004
1 parent ad02966 commit 5bc70ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/gem/SDL_gemevents.c
Expand Up @@ -302,7 +302,7 @@ static void do_mouse(_THIS, short mx, short my, short mb, short ks)
SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
} else {
SDL_PrivateMouseMotion(0, 1, mx, my);
SDL_PrivateMouseMotion(0, 0, mx, my);
}
prevmousex = mx;
prevmousey = my;
Expand Down

0 comments on commit 5bc70ab

Please sign in to comment.