aboutsummaryrefslogtreecommitdiffstats
path: root/include/ipc.h
diff options
context:
space:
mode:
authorLibravatar Cole Mickens <cole.mickens@gmail.com>2016-01-17 02:53:37 -0800
committerLibravatar Cole Mickens <cole.mickens@gmail.com>2016-01-19 06:51:36 -0800
commit28081b76891ddbbb825dee6c202037d78aa8f164 (patch)
tree6b7412f626f5d9f10dba8920a2543dfd3c5a662e /include/ipc.h
parentAdd ffmpeg/imagemagick to depenency list (diff)
downloadsway-28081b76891ddbbb825dee6c202037d78aa8f164.tar.gz
sway-28081b76891ddbbb825dee6c202037d78aa8f164.tar.zst
sway-28081b76891ddbbb825dee6c202037d78aa8f164.zip
libinput
Diffstat (limited to 'include/ipc.h')
-rw-r--r--include/ipc.h6
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