EventThread: ifdef out broken SDL function on OSX
This commit is contained in:
		
							parent
							
								
									de74fc1bc3
								
							
						
					
					
						commit
						47ef36ca19
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -111,7 +111,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…
	
	Add table
		Add a link
		
	
		Reference in a new issue