src/video/ataricommon/SDL_xbiosevents.c
changeset 1310 a201a8c62522
parent 1237 a8068adf156b
child 1312 c9b51268668f
     1.1 --- a/src/video/ataricommon/SDL_xbiosevents.c	Tue Jan 31 19:46:26 2006 +0000
     1.2 +++ b/src/video/ataricommon/SDL_xbiosevents.c	Tue Jan 31 21:33:35 2006 +0000
     1.3 @@ -122,7 +122,7 @@
     1.4  	}
     1.5  }
     1.6  
     1.7 -void SDL_AtariXbios_PostMouseEvents(_THIS)
     1.8 +void SDL_AtariXbios_PostMouseEvents(_THIS, SDL_bool buttonEvents)
     1.9  {
    1.10  	if (SDL_AtariXbios_enabled==0) {
    1.11  		return;
    1.12 @@ -135,7 +135,7 @@
    1.13  	}
    1.14  	
    1.15  	/* Mouse button ? */
    1.16 -	if (SDL_AtariXbios_mouseb != atari_prevmouseb) {
    1.17 +	if (buttonEvents && (SDL_AtariXbios_mouseb != atari_prevmouseb)) {
    1.18  		int i;
    1.19  
    1.20  		for (i=0;i<2;i++) {