ipc: add query for mode bindings

This commit is contained in:
Ronan Pigott 2020-07-16 12:11:09 -07:00 committed by Ronan Pigott
parent 7e7994dbb2
commit b77ad945be
3 changed files with 232 additions and 76 deletions

View file

@ -8,6 +8,8 @@
json_object *ipc_json_get_version(void);
json_object *ipc_json_get_binding_mode(void);
json_object *ipc_json_describe_binding(struct sway_binding *binding);
json_object *ipc_json_describe_binding_mode(struct sway_mode *mode);
json_object *ipc_json_describe_disabled_output(struct sway_output *o);
json_object *ipc_json_describe_non_desktop_output(struct sway_output_non_desktop *o);