diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2020-06-13 12:32:24 +0900 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2020-06-13 12:32:24 +0900 |
| commit | e9645e4856f2aa972d082af0033b2e34b9a722b2 (patch) | |
| tree | e838990235ecf0a4f543999ea292c0c5167957df /include | |
| parent | 010e47c949faa929f71bebf747ae377627ab0d39 (diff) | |
i3-compat: add GET_BINDING_STATE IPC command
Diffstat (limited to 'include')
| -rw-r--r-- | include/ipc.h | 1 | ||||
| -rw-r--r-- | include/sway/ipc-json.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h index 7ae21ab3..ff011750 100644 --- a/include/ipc.h +++ b/include/ipc.h @@ -17,6 +17,7 @@ enum ipc_command_type { IPC_GET_CONFIG = 9, IPC_SEND_TICK = 10, IPC_SYNC = 11, + IPC_GET_BINDING_STATE = 12, // sway-specific command types IPC_GET_INPUTS = 100, diff --git a/include/sway/ipc-json.h b/include/sway/ipc-json.h index 3e584dbb..6f4ade1a 100644 --- a/include/sway/ipc-json.h +++ b/include/sway/ipc-json.h @@ -6,6 +6,8 @@ json_object *ipc_json_get_version(void); +json_object *ipc_json_get_binding_mode(void); + json_object *ipc_json_describe_disabled_output(struct sway_output *o); json_object *ipc_json_describe_node(struct sway_node *node); json_object *ipc_json_describe_node_recursive(struct sway_node *node); |
