summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ipc-server.h6
-rw-r--r--include/ipc.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ipc-server.h b/include/ipc-server.h
index 04975093..47026bfd 100644
--- a/include/ipc-server.h
+++ b/include/ipc-server.h
@@ -15,6 +15,12 @@ void ipc_event_barconfig_update(struct bar_config *bar);
15 * Send IPC mode event to all listening clients 15 * Send IPC mode event to all listening clients
16 */ 16 */
17void ipc_event_mode(const char *mode); 17void ipc_event_mode(const char *mode);
18/**
19 * Sends an IPC modifier event to all listening clients. The modifier event
20 * includes a key 'change' with the value of state and a key 'modifier' with
21 * the name of that modifier.
22 */
23void ipc_event_modifier(uint32_t modifier, const char *state);
18const char *swayc_type_string(enum swayc_types type); 24const char *swayc_type_string(enum swayc_types type);
19 25
20#endif 26#endif
diff --git a/include/ipc.h b/include/ipc.h
index e0b3b736..56593529 100644
--- a/include/ipc.h
+++ b/include/ipc.h
@@ -17,6 +17,7 @@ enum ipc_command_type {
17 IPC_EVENT_WINDOW = (1 << 31 | 3), 17 IPC_EVENT_WINDOW = (1 << 31 | 3),
18 IPC_EVENT_BARCONFIG_UPDATE = (1 << 31 | 4), 18 IPC_EVENT_BARCONFIG_UPDATE = (1 << 31 | 4),
19 IPC_EVENT_BINDING = (1 << 31 | 5), 19 IPC_EVENT_BINDING = (1 << 31 | 5),
20 IPC_EVENT_MODIFIER = (1 << 31 | 6),
20 IPC_SWAY_GET_PIXELS = 0x81 21 IPC_SWAY_GET_PIXELS = 0x81
21}; 22};
22 23