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 | Remove arrange_windows from post-render (diff) | |
parent | Handle transient_for (diff) | |
download | sway-464239f7ac11d32a6f10b8517b8410a2eb9b493a.tar.gz sway-464239f7ac11d32a6f10b8517b8410a2eb9b493a.tar.zst sway-464239f7ac11d32a6f10b8517b8410a2eb9b493a.zip |
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(); | |||
9 | json_object *ipc_json_describe_bar_config(struct bar_config *bar); | 9 | json_object *ipc_json_describe_bar_config(struct bar_config *bar); |
10 | json_object *ipc_json_describe_container(swayc_t *c); | 10 | json_object *ipc_json_describe_container(swayc_t *c); |
11 | json_object *ipc_json_describe_container_recursive(swayc_t *c); | 11 | json_object *ipc_json_describe_container_recursive(swayc_t *c); |
12 | json_object *ipc_json_describe_window(swayc_t *c); | ||
12 | 13 | ||
13 | #endif | 14 | #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); | |||
18 | */ | 18 | */ |
19 | void ipc_event_mode(const char *mode); | 19 | void ipc_event_mode(const char *mode); |
20 | /** | 20 | /** |
21 | * Send IPC window change event | ||
22 | */ | ||
23 | void ipc_event_window(swayc_t *window, const char *change); | ||
24 | /** | ||
21 | * Sends an IPC modifier event to all listening clients. The modifier event | 25 | * Sends an IPC modifier event to all listening clients. The modifier event |
22 | * includes a key 'change' with the value of state and a key 'modifier' with | 26 | * includes a key 'change' with the value of state and a key 'modifier' with |
23 | * the name of that modifier. | 27 | * the name of that modifier. |