[SDL] Another SDL/MacOS problem

Sam Lantinga slouken at devolution.com
Fri Jan 12 18:01:14 PST 2001


> As was discussed many moons ago here, on MacOS, if you debug SDL 
> programs with CodeWarrior, the debugger will change your eventMask 
> for his needs. This causes SDL to act wierd for key input.

> A simple fix for this is to edit SDL_macevents.c, function 
> Mac_HandleActivate(), and add this into the if(activate) {... } part:
> ...
>    /* put our mask back in case it changed during context switch */
>    SetEventMask(everyEvent - autoKeyMask);
> ...

Thanks, this is now in CVS.

See ya!
	-Sam Lantinga, Lead Programmer, Loki Entertainment Software



More information about the SDL mailing list