mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
implemented IPC subscribe for workspace event
This commit is contained in:
parent
eb847a1b1c
commit
9925554ea4
3 changed files with 112 additions and 32 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#ifndef _SWAY_IPC_H
|
||||
#define _SWAY_IPC_H
|
||||
|
||||
#include "container.h"
|
||||
|
||||
enum ipc_command_type {
|
||||
IPC_COMMAND = 0,
|
||||
IPC_GET_WORKSPACES = 1,
|
||||
|
|
@ -16,4 +18,6 @@ void ipc_init(void);
|
|||
void ipc_terminate(void);
|
||||
struct sockaddr_un *ipc_user_sockaddr(void);
|
||||
|
||||
void ipc_event_workspace(swayc_t *old, swayc_t *new);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue