mirror of
				https://github.com/swaywm/sway.git
				synced 2025-11-03 09:01:43 -05:00 
			
		
		
		
	
		
			
	
	
		
			11 lines
		
	
	
	
		
			361 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			11 lines
		
	
	
	
		
			361 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#include <json-c/json.h>
							 | 
						||
| 
								 | 
							
								#include "wlc/wlc.h"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								void init_json_tree(int socketfd);
							 | 
						||
| 
								 | 
							
								void free_json_tree();
							 | 
						||
| 
								 | 
							
								char *get_focused_output();
							 | 
						||
| 
								 | 
							
								char *create_payload(const char *output, struct wlc_geometry *g);
							 | 
						||
| 
								 | 
							
								struct wlc_geometry *get_container_geometry(json_object *container);
							 | 
						||
| 
								 | 
							
								json_object *get_focused_container();
							 | 
						||
| 
								 | 
							
								json_object *get_output_container(const char *output);
							 |