diff options
author | Jason Nader <jason.nader@protonmail.com> | 2020-06-13 12:32:24 +0900 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2020-06-14 00:55:14 -0400 |
commit | 45859be03f14fa0506ab8518feaec5ddb157e318 (patch) | |
tree | e838990235ecf0a4f543999ea292c0c5167957df /include | |
parent | f9361ae36c586d78db34307f538508ab0dd8f486 (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); |