aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ipc.h5
-rw-r--r--include/sway/ipc-server.h1
2 files changed, 4 insertions, 2 deletions
diff --git a/include/ipc.h b/include/ipc.h
index 0010718b..ffc57d1b 100644
--- a/include/ipc.h
+++ b/include/ipc.h
@@ -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
diff --git a/include/sway/ipc-server.h b/include/sway/ipc-server.h
index 6469f097..a11735cf 100644
--- a/include/sway/ipc-server.h
+++ b/include/sway/ipc-server.h
@@ -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