ATTN: OSX Devs - Found and "fixed" a bug with SDL2

I’m having no such problems running my SDL2 apps on Yosemite… maybe you are doing something odd in your code.

With that said, I’m pretty positive there is a better way to resolve the problem (likely not sending phony events, which can cause problems on their own).

If you are having to check if something happened once, then odds are there is a better place in your code for it. Even if not, dispatch_once() is a more preferred method for executing something once and only once.