mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	Merge pull request #1049 from emersion/fix-xwayland-restart-on-shutdown
rootston: destroy xwayland before all clients
This commit is contained in:
		
						commit
						a072a8309e
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -72,6 +72,9 @@ int main(int argc, char **argv) {
 | 
			
		|||
	}
 | 
			
		||||
 | 
			
		||||
	wl_display_run(server.wl_display);
 | 
			
		||||
#ifdef WLR_HAS_XWAYLAND
 | 
			
		||||
	wlr_xwayland_destroy(server.desktop->xwayland);
 | 
			
		||||
#endif
 | 
			
		||||
	wl_display_destroy_clients(server.wl_display);
 | 
			
		||||
	wl_display_destroy(server.wl_display);
 | 
			
		||||
	return 0;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue