diff options
Diffstat (limited to 'include/ipc.h')
-rw-r--r-- | include/ipc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ipc.h b/include/ipc.h index 56593529..934049c2 100644 --- a/include/ipc.h +++ b/include/ipc.h | |||
@@ -5,11 +5,12 @@ enum ipc_command_type { | |||
5 | IPC_COMMAND = 0, | 5 | IPC_COMMAND = 0, |
6 | IPC_GET_WORKSPACES = 1, | 6 | IPC_GET_WORKSPACES = 1, |
7 | IPC_SUBSCRIBE = 2, | 7 | IPC_SUBSCRIBE = 2, |
8 | IPC_GET_OUTPUTS = 3, | 8 | IPC_GET_OUTPUTS = 3, |
9 | IPC_GET_TREE = 4, | 9 | IPC_GET_TREE = 4, |
10 | IPC_GET_MARKS = 5, | 10 | IPC_GET_MARKS = 5, |
11 | IPC_GET_BAR_CONFIG = 6, | 11 | IPC_GET_BAR_CONFIG = 6, |
12 | IPC_GET_VERSION = 7, | 12 | IPC_GET_VERSION = 7, |
13 | IPC_GET_INPUTS = 8, | ||
13 | // Events send from sway to clients. Events have the higest bit set. | 14 | // Events send from sway to clients. Events have the higest bit set. |
14 | IPC_EVENT_WORKSPACE = (1 << 31 | 0), | 15 | IPC_EVENT_WORKSPACE = (1 << 31 | 0), |
15 | IPC_EVENT_OUTPUT = (1 << 31 | 1), | 16 | IPC_EVENT_OUTPUT = (1 << 31 | 1), |
@@ -18,6 +19,7 @@ enum ipc_command_type { | |||
18 | IPC_EVENT_BARCONFIG_UPDATE = (1 << 31 | 4), | 19 | IPC_EVENT_BARCONFIG_UPDATE = (1 << 31 | 4), |
19 | IPC_EVENT_BINDING = (1 << 31 | 5), | 20 | IPC_EVENT_BINDING = (1 << 31 | 5), |
20 | IPC_EVENT_MODIFIER = (1 << 31 | 6), | 21 | IPC_EVENT_MODIFIER = (1 << 31 | 6), |
22 | IPC_EVENT_INPUT = (1 << 31 | 7), | ||
21 | IPC_SWAY_GET_PIXELS = 0x81 | 23 | IPC_SWAY_GET_PIXELS = 0x81 |
22 | }; | 24 | }; |
23 | 25 | ||