Add IPC policy to config

Also reduces enum abuse, cc @minus7
This commit is contained in:
Drew DeVault 2016-12-02 16:08:45 -05:00
parent 0a1b211e09
commit e9e1a6a409
4 changed files with 8 additions and 6 deletions

View file

@ -1,6 +1,8 @@
#ifndef _SWAY_IPC_H
#define _SWAY_IPC_H
#define event_mask(ev) (1 << (ev & 0x7F))
enum ipc_command_type {
IPC_COMMAND = 0,
IPC_GET_WORKSPACES = 1,