mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 14:24:53 +00:00 
			
		
		
		
	x11: window managers might mark windows as FULLSCREEN _and_ MAXIMIZED.
This patch came from Unreal Engine 4's fork of SDL, compliments of Epic Games.
This commit is contained in:
		
							parent
							
								
									9a7527988a
								
							
						
					
					
						commit
						14e007772a
					
				| 
						 | 
				
			
			@ -207,7 +207,9 @@ X11_GetNetWMState(_THIS, Window xwindow)
 | 
			
		|||
        }
 | 
			
		||||
        if (maximized == 3) {
 | 
			
		||||
            flags |= SDL_WINDOW_MAXIMIZED;
 | 
			
		||||
        }  else if (fullscreen == 1) {
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        if (fullscreen == 1) {
 | 
			
		||||
            flags |= SDL_WINDOW_FULLSCREEN;
 | 
			
		||||
        }
 | 
			
		||||
        X11_XFree(propertyValue);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue