EventThread: ifdef out broken SDL function on OSX
This commit is contained in:
parent
c16f20527e
commit
5964aa8f76
|
|
@ -116,7 +116,11 @@ void EventThread::process(RGSSThreadData &rtData)
|
||||||
UnidirMessage<Vec2i> &windowSizeMsg = rtData.windowSizeMsg;
|
UnidirMessage<Vec2i> &windowSizeMsg = rtData.windowSizeMsg;
|
||||||
|
|
||||||
initALCFunctions(rtData.alcDev);
|
initALCFunctions(rtData.alcDev);
|
||||||
|
|
||||||
|
// XXX this function breaks input focus on OSX
|
||||||
|
#ifndef __MACOSX__
|
||||||
SDL_SetEventFilter(eventFilter, &rtData);
|
SDL_SetEventFilter(eventFilter, &rtData);
|
||||||
|
#endif
|
||||||
|
|
||||||
fullscreen = rtData.config.fullscreen;
|
fullscreen = rtData.config.fullscreen;
|
||||||
int toggleFSMod = rtData.config.anyAltToggleFS ? KMOD_ALT : KMOD_LALT;
|
int toggleFSMod = rtData.config.anyAltToggleFS ? KMOD_ALT : KMOD_LALT;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue