mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	Exit if load_compositor() fails.
This commit is contained in:
		
							parent
							
								
									d91e049735
								
							
						
					
					
						commit
						35052568d0
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -951,7 +951,8 @@ int main(int argc, char *argv[])
 | 
			
		|||
 | 
			
		||||
	if (argc == 2)
 | 
			
		||||
		compositor = argv[1];
 | 
			
		||||
	load_compositor(display, compositor);
 | 
			
		||||
	if (load_compositor(display, compositor))
 | 
			
		||||
		return -1;
 | 
			
		||||
 | 
			
		||||
	wl_display_run(display);
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue