summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2016-07-21 14:59:57 -0400
committerLibravatar GitHub <noreply@github.com>2016-07-21 14:59:57 -0400
commit464239f7ac11d32a6f10b8517b8410a2eb9b493a (patch)
tree96929d8f1b16ad0b5773b1776484caba858c77a5 /include
parentRemove arrange_windows from post-render (diff)
parentHandle transient_for (diff)
downloadsway-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.h1
-rw-r--r--include/ipc-server.h4
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();
9json_object *ipc_json_describe_bar_config(struct bar_config *bar); 9json_object *ipc_json_describe_bar_config(struct bar_config *bar);
10json_object *ipc_json_describe_container(swayc_t *c); 10json_object *ipc_json_describe_container(swayc_t *c);
11json_object *ipc_json_describe_container_recursive(swayc_t *c); 11json_object *ipc_json_describe_container_recursive(swayc_t *c);
12json_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 */
19void ipc_event_mode(const char *mode); 19void ipc_event_mode(const char *mode);
20/** 20/**
21 * Send IPC window change event
22 */
23void 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.