src/video/gem/SDL_gemevents.c
changeset 1310 a201a8c62522
parent 1267 fdc7ef6ecab4
child 1312 c9b51268668f
     1.1 --- a/src/video/gem/SDL_gemevents.c	Tue Jan 31 19:46:26 2006 +0000
     1.2 +++ b/src/video/gem/SDL_gemevents.c	Tue Jan 31 21:33:35 2006 +0000
     1.3 @@ -45,7 +45,7 @@
     1.4  #include "SDL_gemevents_c.h"
     1.5  #include "SDL_atarikeys.h"	/* for keyboard scancodes */
     1.6  #include "SDL_atarievents_c.h"
     1.7 -#include "SDL_xbiosinterrupt_s.h"
     1.8 +#include "SDL_xbiosevents_c.h"
     1.9  
    1.10  /* Defines */
    1.11  
    1.12 @@ -383,10 +383,7 @@
    1.13  
    1.14  	/* Mouse motion ? */
    1.15  	if (GEM_mouse_relative) {
    1.16 -		if (SDL_AtariXbios_mousex || SDL_AtariXbios_mousey) {
    1.17 -			SDL_PrivateMouseMotion(0, 1, SDL_AtariXbios_mousex, SDL_AtariXbios_mousey);
    1.18 -			SDL_AtariXbios_mousex = SDL_AtariXbios_mousey = 0;
    1.19 -		}
    1.20 +		SDL_AtariXbios_PostMouseEvents(this, SDL_FALSE);
    1.21  	} else {
    1.22  		if ((prevmousex!=mx) || (prevmousey!=my)) {
    1.23  			int posx, posy;