-
Notifications
You must be signed in to change notification settings - Fork 5
Messages
Mihir Lad edited this page Jul 7, 2020
·
2 revisions
The following are the supported message types:
typedef enum IPCMessageType {
IPC_TYPE_RUN_COMMAND = 0,
IPC_TYPE_GET_MONITORS = 1,
IPC_TYPE_GET_TAGS = 2,
IPC_TYPE_GET_LAYOUTS = 3,
IPC_TYPE_GET_DWM_CLIENT = 4,
IPC_TYPE_SUBSCRIBE = 5,
IPC_TYPE_EVENT = 6
} IPCMessageType;
-
IPC_TYPE_RUN_COMMAND
is used to execute a function in dwm.c with the specified arguments. View page. -
IPC_TYPE_GET_MONITORS
is used to retrieve the properties of all your monitors including the selected client and the clients in the stack. View page. -
IPC_TYPE_GET_TAGS
is used to retrieve the list of tags and their bit masks View page. -
IPC_TYPE_GET_LAYOUTS
is used to retrieve the available layouts identified by their symbols and addresses to to their structs in memory. View more. -
IPC_TYPE_GET_DWM_CLIENT
is used to retreive the properties of a specified client. View page. -
IPC_TYPE_SUBSCRIBE
is used to subcribe to dwm events and receive a message when the event is raised. View page. -
IPC_TYPE_EVENT
is the message type specified by event messages sent by dwm. View page.