mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
		
			
				
	
	
		
			6 lines
		
	
	
	
		
			87 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			6 lines
		
	
	
	
		
			87 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef _SWAY_SWAY_H
 | 
						|
#define _SWAY_SWAY_H
 | 
						|
 | 
						|
void sway_terminate(int exit_code);
 | 
						|
 | 
						|
#endif
 |