mirror of
				https://github.com/KartKrewDev/RingRacers.git
				synced 2025-10-30 08:01:28 +00:00 
			
		
		
		
	Merge branch 'caps-lock-consistency-fix' into 'master'
Update capslock state on window re-focus See merge request STJr/SRB2!436
This commit is contained in:
		
						commit
						4560b4cb41
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -580,6 +580,8 @@ static void Impl_HandleWindowEvent(SDL_WindowEvent evt)
 | 
			
		|||
			if (cv_usemouse.value) I_StartupMouse();
 | 
			
		||||
		}
 | 
			
		||||
		//else firsttimeonmouse = SDL_FALSE;
 | 
			
		||||
 | 
			
		||||
		capslock = !!( SDL_GetModState() & KMOD_CAPS );// in case CL changes
 | 
			
		||||
	}
 | 
			
		||||
	else if (!mousefocus && !kbfocus)
 | 
			
		||||
	{
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue