sway/include/sway/ipc-server.h

23 lines
658 B
C
Raw Normal View History

2017-11-23 03:37:07 +01:00
#ifndef _SWAY_IPC_SERVER_H
#define _SWAY_IPC_SERVER_H
#include <sys/socket.h>
2018-04-16 12:36:40 +02:00
#include "sway/config.h"
#include "sway/tree/container.h"
2017-11-23 03:37:07 +01:00
#include "ipc.h"
struct sway_server;
void ipc_init(struct sway_server *server);
2017-11-23 03:37:07 +01: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-29 23:20:03 +02:00
void ipc_event_barconfig_update(struct bar_config *bar);
2018-07-06 00:12:14 +02:00
void ipc_event_mode(const char *mode, bool pango);
2018-07-13 17:58:45 +02:00
void ipc_event_shutdown(const char *reason);
2018-07-18 12:37:50 +02:00
void ipc_event_binding(struct sway_binding *binding);
2018-02-28 01:53:15 +01:00
2017-11-23 03:37:07 +01:00
#endif