aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Nader <jason.nader@protonmail.com>2020-06-13 12:32:24 +0900
committerBrian Ashworth <bosrsf04@gmail.com>2020-06-14 00:55:14 -0400
commit45859be03f14fa0506ab8518feaec5ddb157e318 (patch)
treee838990235ecf0a4f543999ea292c0c5167957df /include
parentf9361ae36c586d78db34307f538508ab0dd8f486 (diff)
i3-compat: add GET_BINDING_STATE IPC command
Diffstat (limited to 'include')
-rw-r--r--include/ipc.h1
-rw-r--r--include/sway/ipc-json.h2
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);