diff options
author | Drew DeVault <sir@cmpwn.com> | 2016-07-21 14:59:57 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-21 14:59:57 -0400 |
commit | 464239f7ac11d32a6f10b8517b8410a2eb9b493a (patch) | |
tree | 96929d8f1b16ad0b5773b1776484caba858c77a5 /include | |
parent | 095353d91db1467cb0366cfe68773d679d029370 (diff) | |
parent | f022628a2ef56ea296232b8e7bd7b73a6ce0df63 (diff) |
Merge pull request #776 from Hummer12007/window-events
[RFC] Implement window events
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. |