Move IPC client into common, refactor IPC

This commit is contained in:
Drew DeVault 2015-11-27 09:50:04 -05:00
parent 5ae359279b
commit 27f03c705d
8 changed files with 105 additions and 79 deletions

View file

@ -1,8 +1,6 @@
#ifndef _SWAY_IPC_H
#define _SWAY_IPC_H
#include "container.h"
enum ipc_command_type {
IPC_COMMAND = 0,
IPC_GET_WORKSPACES = 1,
@ -15,10 +13,4 @@ enum ipc_command_type {
IPC_SWAY_GET_PIXELS = 0x81
};
void ipc_init(void);
void ipc_terminate(void);
struct sockaddr_un *ipc_user_sockaddr(void);
void ipc_event_workspace(swayc_t *old, swayc_t *new);
#endif