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 | Remove view child surface_{map,unmap} listeners on destroy (diff) | |
download | sway-45859be03f14fa0506ab8518feaec5ddb157e318.tar.gz sway-45859be03f14fa0506ab8518feaec5ddb157e318.tar.zst sway-45859be03f14fa0506ab8518feaec5ddb157e318.zip |
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 { | |||
17 | IPC_GET_CONFIG = 9, | 17 | IPC_GET_CONFIG = 9, |
18 | IPC_SEND_TICK = 10, | 18 | IPC_SEND_TICK = 10, |
19 | IPC_SYNC = 11, | 19 | IPC_SYNC = 11, |
20 | IPC_GET_BINDING_STATE = 12, | ||
20 | 21 | ||
21 | // sway-specific command types | 22 | // sway-specific command types |
22 | IPC_GET_INPUTS = 100, | 23 | 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 @@ | |||
6 | 6 | ||
7 | json_object *ipc_json_get_version(void); | 7 | json_object *ipc_json_get_version(void); |
8 | 8 | ||
9 | json_object *ipc_json_get_binding_mode(void); | ||
10 | |||
9 | json_object *ipc_json_describe_disabled_output(struct sway_output *o); | 11 | json_object *ipc_json_describe_disabled_output(struct sway_output *o); |
10 | json_object *ipc_json_describe_node(struct sway_node *node); | 12 | json_object *ipc_json_describe_node(struct sway_node *node); |
11 | json_object *ipc_json_describe_node_recursive(struct sway_node *node); | 13 | json_object *ipc_json_describe_node_recursive(struct sway_node *node); |