mirror of
				https://github.com/Ryujinx/SDL.git
				synced 2025-11-04 09:24:57 +00:00 
			
		
		
		
	Get the parent of non-SDL-created windows, for completeness
This commit is contained in:
		
							parent
							
								
									1b5614b3f5
								
							
						
					
					
						commit
						9085c7b311
					
				| 
						 | 
				
			
			@ -366,7 +366,7 @@ WIN_CreateWindowFrom(_THIS, SDL_Window * window, const void *data)
 | 
			
		|||
        SDL_stack_free(title);
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (SetupWindowData(_this, window, hwnd, NULL, SDL_FALSE) < 0) {
 | 
			
		||||
    if (SetupWindowData(_this, window, hwnd, GetParent(hwnd), SDL_FALSE) < 0) {
 | 
			
		||||
        return -1;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue