You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
604 B
22 lines
604 B
#ifndef _SWAY_IPC_SERVER_H
|
|
#define _SWAY_IPC_SERVER_H
|
|
#include <sys/socket.h>
|
|
#include "sway/config.h"
|
|
#include "sway/tree/container.h"
|
|
#include "ipc.h"
|
|
|
|
struct sway_server;
|
|
|
|
void ipc_init(struct sway_server *server);
|
|
|
|
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, bool pango);
|
|
void ipc_event_shutdown(const char *reason);
|
|
|
|
#endif
|