mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	xwayland/xwm: reset serial in xwayland_surface_dissociate()
The same X11 window can be used multiple times with a different wl_surface. Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3570
This commit is contained in:
		
							parent
							
								
									fbf5982e38
								
							
						
					
					
						commit
						03412e9aab
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -404,6 +404,7 @@ static void xwayland_surface_dissociate(struct wlr_xwayland_surface *xsurface) {
 | 
			
		|||
	wl_list_remove(&xsurface->unpaired_link);
 | 
			
		||||
	wl_list_init(&xsurface->unpaired_link);
 | 
			
		||||
	xsurface->surface_id = 0;
 | 
			
		||||
	xsurface->serial = 0;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
static void xwayland_surface_destroy(struct wlr_xwayland_surface *xsurface) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue