aboutsummaryrefslogtreecommitdiff
path: root/include/ipc.h
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-07-18 12:30:39 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-01 16:57:15 +0100
commit3edaf2ce2a8a4753c162491329a7dfa492ff7e77 (patch)
tree28ae55150ef695a569aecaf114250a87a73d0d5a /include/ipc.h
parent33433c64347eb0bfd7c1465a3b60579fa88ef724 (diff)
ipc: add tick event
Diffstat (limited to 'include/ipc.h')
-rw-r--r--include/ipc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ipc.h b/include/ipc.h
index ffc57d1b..2138d3fa 100644
--- a/include/ipc.h
+++ b/include/ipc.h
@@ -15,6 +15,7 @@ enum ipc_command_type {
IPC_GET_VERSION = 7,
IPC_GET_BINDING_MODES = 8,
IPC_GET_CONFIG = 9,
+ IPC_SEND_TICK = 10,
// sway-specific command types
IPC_GET_INPUTS = 100,
@@ -28,6 +29,7 @@ enum ipc_command_type {
IPC_EVENT_BARCONFIG_UPDATE = ((1<<31) | 4),
IPC_EVENT_BINDING = ((1<<31) | 5),
IPC_EVENT_SHUTDOWN = ((1<<31) | 6),
+ IPC_EVENT_TICK = ((1<<31) | 7),
IPC_EVENT_MODIFIER = ((1<<31) | 16),
IPC_EVENT_INPUT = ((1<<31) | 17),
};