aboutsummaryrefslogtreecommitdiff
path: root/include/sway/ipc-server.h
blob: c3389fe856760653aa272285f9d3400401f59771 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef _SWAY_IPC_SERVER_H
#define _SWAY_IPC_SERVER_H
#include <sys/socket.h>
#include "sway/tree/container.h"
#include "ipc.h"

struct sway_server;

void ipc_init(struct sway_server *server);

void ipc_terminate(void);

struct sockaddr_un *ipc_user_sockaddr(void);

void ipc_event_workspace(struct sway_container *old,
		struct sway_container *new, const char *change);
void ipc_event_window(struct sway_container *window, const char *change);
void ipc_event_barconfig_update(struct bar_config *bar);
void ipc_event_mode(const char *mode);

#endif