accept any alt for fullscreen switch
This commit is contained in:
		
							parent
							
								
									1120c60cae
								
							
						
					
					
						commit
						f42539e02b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -145,7 +145,7 @@ void EventThread::process(RGSSThreadData &rtData)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		case SDL_KEYDOWN :
 | 
							case SDL_KEYDOWN :
 | 
				
			||||||
			if (event.key.keysym.scancode == SDL_SCANCODE_RETURN &&
 | 
								if (event.key.keysym.scancode == SDL_SCANCODE_RETURN &&
 | 
				
			||||||
			    (event.key.keysym.mod & KMOD_LALT))
 | 
								    (event.key.keysym.mod & KMOD_ALT))
 | 
				
			||||||
			{
 | 
								{
 | 
				
			||||||
				setFullscreen(win, !fullscreen);
 | 
									setFullscreen(win, !fullscreen);
 | 
				
			||||||
				if (!fullscreen && havePendingTitle)
 | 
									if (!fullscreen && havePendingTitle)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue