aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/old/ipc-server.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sway/old/ipc-server.h')
-rw-r--r--include/sway/old/ipc-server.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/include/sway/old/ipc-server.h b/include/sway/old/ipc-server.h
new file mode 100644
index 00000000..0cc26d99
--- /dev/null
+++ b/include/sway/old/ipc-server.h
@@ -0,0 +1,33 @@
1#ifndef _SWAY_IPC_SERVER_H
2#define _SWAY_IPC_SERVER_H
3#include "container.h"
4#include "config.h"
5#include "ipc.h"
6
7void ipc_init(void);
8void ipc_terminate(void);
9struct sockaddr_un *ipc_user_sockaddr(void);
10
11void ipc_event_workspace(swayc_t *old, swayc_t *new, const char *change);
12void ipc_event_barconfig_update(struct bar_config *bar);
13/**
14 * Send IPC mode event to all listening clients
15 */
16void ipc_event_mode(const char *mode);
17/**
18 * Send IPC window change event
19 */
20void ipc_event_window(swayc_t *window, const char *change);
21/**
22 * Sends an IPC modifier event to all listening clients. The modifier event
23 * includes a key 'change' with the value of state and a key 'modifier' with
24 * the name of that modifier.
25 */
26void ipc_event_modifier(uint32_t modifier, const char *state);
27/**
28 * Send IPC keyboard binding event.
29 */
30void ipc_event_binding_keyboard(struct sway_binding *sb);
31const char *swayc_type_string(enum swayc_types type);
32
33#endif