xwayland/present: Update surface window again if manual redirect fails
Even if the manual redirect didn't result in the surface window we wanted, it might be different again without the redirect. I don't know of any specific scenario hitting this though, it's more of a theoretical safeguard. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1637>
This commit is contained in:
		
							parent
							
								
									e6c649e6e6
								
							
						
					
					
						commit
						23dde0860c
					
				| 
						 | 
				
			
			@ -1308,6 +1308,7 @@ xwl_present_maybe_redirect_window(WindowPtr window)
 | 
			
		|||
        compUnredirectWindow(serverClient, window, CompositeRedirectManual);
 | 
			
		||||
        xwl_present_window->redirected = FALSE;
 | 
			
		||||
        xwl_present_window->redirect_failed = TRUE;
 | 
			
		||||
        xwl_window_update_surface_window(xwl_window);
 | 
			
		||||
        return FALSE;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue