mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 14:24:53 +00:00 
			
		
		
		
	WinRT: fixed bug whereby a Win8.x app's SDL_Window wasn't getting de-marked as maximized (on window restore)
This commit is contained in:
		
							parent
							
								
									d8aa066288
								
							
						
					
					
						commit
						6823a22162
					
				| 
						 | 
				
			
			@ -226,6 +226,8 @@ WINRT_ProcessWindowSizeChange() // TODO: Pass an SDL_Window-identifying thing in
 | 
			
		|||
                   window event, if and when it is needed!
 | 
			
		||||
                */
 | 
			
		||||
                SDL_SendWindowEvent(window, SDL_WINDOWEVENT_MAXIMIZED, 0, 0);
 | 
			
		||||
            } else {
 | 
			
		||||
                SDL_SendWindowEvent(window, SDL_WINDOWEVENT_RESTORED, 0, 0);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            WINRT_UpdateWindowFlags(window, SDL_WINDOW_FULLSCREEN_DESKTOP);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue