diff options
author | 2016-09-19 06:53:29 +0900 | |
---|---|---|
committer | 2016-09-19 06:53:29 +0900 | |
commit | d98c26d0edbab66042ff3da0348d339fd857f99d (patch) | |
tree | 78146ff883ee17c5f56610cce67ae658a2d2412d /include/swaygrab/json.h | |
parent | Merge pull request #907 from zandrmartin/fix-json-tree-focus-property (diff) | |
parent | implement "focused container" feature for swaygrab (diff) | |
download | sway-d98c26d0edbab66042ff3da0348d339fd857f99d.tar.gz sway-d98c26d0edbab66042ff3da0348d339fd857f99d.tar.zst sway-d98c26d0edbab66042ff3da0348d339fd857f99d.zip |
Merge pull request #909 from zandrmartin/grab-focused
implement "focused container" option for swaygrab
Diffstat (limited to 'include/swaygrab/json.h')
-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 @@ | |||
1 | #include <json-c/json.h> | ||
2 | #include "wlc/wlc.h" | ||
3 | |||
4 | void init_json_tree(int socketfd); | ||
5 | void free_json_tree(); | ||
6 | char *get_focused_output(); | ||
7 | char *create_payload(const char *output, struct wlc_geometry *g); | ||
8 | struct wlc_geometry *get_container_geometry(json_object *container); | ||
9 | json_object *get_focused_container(); | ||
10 | json_object *get_output_container(const char *output); | ||