mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	Merge pull request #1736 from acrisci/ipc-container-type
Ipc container type
This commit is contained in:
		
						commit
						aa35715f4b
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -132,6 +132,7 @@ static void ipc_json_describe_workspace(struct sway_container *workspace,
 | 
				
			||||||
static void ipc_json_describe_view(struct sway_container *c, json_object *object) {
 | 
					static void ipc_json_describe_view(struct sway_container *c, json_object *object) {
 | 
				
			||||||
	json_object_object_add(object, "name",
 | 
						json_object_object_add(object, "name",
 | 
				
			||||||
			c->name ? json_object_new_string(c->name) : NULL);
 | 
								c->name ? json_object_new_string(c->name) : NULL);
 | 
				
			||||||
 | 
						json_object_object_add(object, "type", json_object_new_string("con"));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
json_object *ipc_json_describe_container(struct sway_container *c) {
 | 
					json_object *ipc_json_describe_container(struct sway_container *c) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue