diff options
author | Ian Fan <ianfan0@gmail.com> | 2018-07-18 12:30:39 +0100 |
---|---|---|
committer | Ian Fan <ianfan0@gmail.com> | 2018-08-01 16:57:15 +0100 |
commit | 3edaf2ce2a8a4753c162491329a7dfa492ff7e77 (patch) | |
tree | 28ae55150ef695a569aecaf114250a87a73d0d5a /include | |
parent | Add missing swaymsg completions (diff) | |
download | sway-3edaf2ce2a8a4753c162491329a7dfa492ff7e77.tar.gz sway-3edaf2ce2a8a4753c162491329a7dfa492ff7e77.tar.zst sway-3edaf2ce2a8a4753c162491329a7dfa492ff7e77.zip |
ipc: add tick event
Diffstat (limited to 'include')
-rw-r--r-- | include/ipc.h | 2 |
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 { | |||
15 | IPC_GET_VERSION = 7, | 15 | IPC_GET_VERSION = 7, |
16 | IPC_GET_BINDING_MODES = 8, | 16 | IPC_GET_BINDING_MODES = 8, |
17 | IPC_GET_CONFIG = 9, | 17 | IPC_GET_CONFIG = 9, |
18 | IPC_SEND_TICK = 10, | ||
18 | 19 | ||
19 | // sway-specific command types | 20 | // sway-specific command types |
20 | IPC_GET_INPUTS = 100, | 21 | IPC_GET_INPUTS = 100, |
@@ -28,6 +29,7 @@ enum ipc_command_type { | |||
28 | IPC_EVENT_BARCONFIG_UPDATE = ((1<<31) | 4), | 29 | IPC_EVENT_BARCONFIG_UPDATE = ((1<<31) | 4), |
29 | IPC_EVENT_BINDING = ((1<<31) | 5), | 30 | IPC_EVENT_BINDING = ((1<<31) | 5), |
30 | IPC_EVENT_SHUTDOWN = ((1<<31) | 6), | 31 | IPC_EVENT_SHUTDOWN = ((1<<31) | 6), |
32 | IPC_EVENT_TICK = ((1<<31) | 7), | ||
31 | IPC_EVENT_MODIFIER = ((1<<31) | 16), | 33 | IPC_EVENT_MODIFIER = ((1<<31) | 16), |
32 | IPC_EVENT_INPUT = ((1<<31) | 17), | 34 | IPC_EVENT_INPUT = ((1<<31) | 17), |
33 | }; | 35 | }; |