mirror of
https://github.com/swaywm/sway.git
synced 2026-03-24 09:06:16 -04:00
Add IPC policy to config
Also reduces enum abuse, cc @minus7
This commit is contained in:
parent
0a1b211e09
commit
e9e1a6a409
4 changed files with 8 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue