diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/swaygrab/json.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/swaygrab/json.h b/include/swaygrab/json.h new file mode 100644 index 00000000..c1093ef1 --- /dev/null +++ b/include/swaygrab/json.h @@ -0,0 +1,10 @@ +#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); |