EventThread: ifdef out broken SDL function on OSX

This commit is contained in:
Jonas Kulla 2016-02-24 17:55:28 +01:00 committed by Mathew Velasquez
parent c16f20527e
commit 5964aa8f76

View file

@ -116,7 +116,11 @@ void EventThread::process(RGSSThreadData &rtData)
UnidirMessage<Vec2i> &windowSizeMsg = rtData.windowSizeMsg;
initALCFunctions(rtData.alcDev);
// XXX this function breaks input focus on OSX
#ifndef __MACOSX__
SDL_SetEventFilter(eventFilter, &rtData);
#endif
fullscreen = rtData.config.fullscreen;
int toggleFSMod = rtData.config.anyAltToggleFS ? KMOD_ALT : KMOD_LALT;