swayfx/include/sway/ipc-server.h

23 lines
658 B
C
Raw Normal View History

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"
#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);
2017-11-23 13:37:07 +11:00
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);
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-07-14 01:58:45 +10:00
void ipc_event_shutdown(const char *reason);
2018-07-18 20:37:50 +10:00
void ipc_event_binding(struct sway_binding *binding);
2018-02-28 11:53:15 +11:00
2017-11-23 13:37:07 +11:00
#endif