diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ipc-json.h | 1 | ||||
-rw-r--r-- | include/ipc-server.h | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/include/ipc-json.h b/include/ipc-json.h index f90d801e..02b07a23 100644 --- a/include/ipc-json.h +++ b/include/ipc-json.h @@ -9,5 +9,6 @@ json_object *ipc_json_get_version(); json_object *ipc_json_describe_bar_config(struct bar_config *bar); json_object *ipc_json_describe_container(swayc_t *c); json_object *ipc_json_describe_container_recursive(swayc_t *c); +json_object *ipc_json_describe_window(swayc_t *c); #endif diff --git a/include/ipc-server.h b/include/ipc-server.h index aef3aa07..1d199134 100644 --- a/include/ipc-server.h +++ b/include/ipc-server.h @@ -18,6 +18,10 @@ void ipc_event_barconfig_update(struct bar_config *bar); */ void ipc_event_mode(const char *mode); /** + * Send IPC window change event + */ +void ipc_event_window(swayc_t *window, const char *change); +/** * Sends an IPC modifier event to all listening clients. The modifier event * includes a key 'change' with the value of state and a key 'modifier' with * the name of that modifier. |