mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 13:29:54 +00:00
EventThread: ifdef out broken SDL function on OSX
This commit is contained in:
parent
c16f20527e
commit
5964aa8f76
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue