Implement ipc get_clipboard

This commit is contained in:
nyorain 2017-07-07 15:38:45 +02:00
parent 23a1e94402
commit 02c75ebe37
5 changed files with 134 additions and 2 deletions

View file

@ -13,6 +13,7 @@ enum ipc_command_type {
IPC_GET_BAR_CONFIG = 6,
IPC_GET_VERSION = 7,
IPC_GET_INPUTS = 8,
IPC_GET_CLIPBOARD = 9,
// Events send from sway to clients. Events have the highest bits set.
IPC_EVENT_WORKSPACE = ((1<<31) | 0),
IPC_EVENT_OUTPUT = ((1<<31) | 1),