2017-11-23 13:37:07 +11:00
|
|
|
#ifndef _SWAY_IPC_SERVER_H
|
|
|
|
#define _SWAY_IPC_SERVER_H
|
|
|
|
#include <sys/socket.h>
|
2018-04-16 20:36:40 +10:00
|
|
|
#include "sway/config.h"
|
2018-03-30 14:41:33 +11:00
|
|
|
#include "sway/tree/container.h"
|
2017-11-23 13:37:07 +11:00
|
|
|
#include "ipc.h"
|
|
|
|
|
|
|
|
struct sway_server;
|
|
|
|
|
|
|
|
void ipc_init(struct sway_server *server);
|
2018-03-30 14:41:33 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
struct sockaddr_un *ipc_user_sockaddr(void);
|
|
|
|
|
2018-03-30 15:02:29 +11:00
|
|
|
void ipc_event_workspace(struct sway_container *old,
|
|
|
|
struct sway_container *new, const char *change);
|
2018-03-30 14:41:33 +11:00
|
|
|
void ipc_event_window(struct sway_container *window, const char *change);
|
2018-03-30 08:20:03 +11:00
|
|
|
void ipc_event_barconfig_update(struct bar_config *bar);
|
2018-07-06 08:12:14 +10:00
|
|
|
void ipc_event_mode(const char *mode, bool pango);
|
2018-02-28 11:53:15 +11:00
|
|
|
|
2017-11-23 13:37:07 +11:00
|
|
|
#endif
|