mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #3020 from emersion/swaymsg-return-status
swaymsg: fix get_outputs status code
This commit is contained in:
		
						commit
						b90af33570
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,7 @@ static bool success_object(json_object *result) {
 | 
			
		|||
	json_object *success;
 | 
			
		||||
 | 
			
		||||
	if (!json_object_object_get_ex(result, "success", &success)) {
 | 
			
		||||
		return false;
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	return json_object_get_boolean(success);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue