mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
						commit
						a655cb8751
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -199,6 +199,7 @@ json_object *ipc_json_get_version() {
 | 
			
		|||
	json_object_object_add(version, "major", json_object_new_int(0));
 | 
			
		||||
	json_object_object_add(version, "minor", json_object_new_int(0));
 | 
			
		||||
	json_object_object_add(version, "patch", json_object_new_int(1));
 | 
			
		||||
	free(full_version);
 | 
			
		||||
#else
 | 
			
		||||
	json_object_object_add(version, "human_readable", json_object_new_string("version not found"));
 | 
			
		||||
	json_object_object_add(version, "major", json_object_new_int(0));
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue