mirror of
https://github.com/swaywm/sway.git
synced 2025-11-12 13:29:56 -05:00
ipc: add shutdown event
This commit is contained in:
parent
f078f7fdfa
commit
e8b179e313
4 changed files with 21 additions and 2 deletions
|
|
@ -27,8 +27,9 @@ enum ipc_command_type {
|
|||
IPC_EVENT_WINDOW = ((1<<31) | 3),
|
||||
IPC_EVENT_BARCONFIG_UPDATE = ((1<<31) | 4),
|
||||
IPC_EVENT_BINDING = ((1<<31) | 5),
|
||||
IPC_EVENT_MODIFIER = ((1<<31) | 6),
|
||||
IPC_EVENT_INPUT = ((1<<31) | 7),
|
||||
IPC_EVENT_SHUTDOWN = ((1<<31) | 6),
|
||||
IPC_EVENT_MODIFIER = ((1<<31) | 16),
|
||||
IPC_EVENT_INPUT = ((1<<31) | 17),
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -16,5 +16,6 @@ void ipc_event_workspace(struct sway_container *old,
|
|||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue