summaryrefslogtreecommitdiff
path: root/sway/ipc.c
diff options
context:
space:
mode:
authorminus <[email protected]>2015-08-20 15:12:34 +0200
committerminus <[email protected]>2015-08-20 15:27:56 +0200
commitf26ed32e460f3007e623c529d28562f4a0b261cd (patch)
tree20194ff714e5351a435746b89aab17a9944dc934 /sway/ipc.c
parent70f046c87a1fc03c3b3132bf3b05d2e4c4495805 (diff)
added sway_terminate to exit cleanly
Diffstat (limited to 'sway/ipc.c')
-rw-r--r--sway/ipc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/ipc.c b/sway/ipc.c
index 69f4a4f3..d55469ed 100644
--- a/sway/ipc.c
+++ b/sway/ipc.c
@@ -60,7 +60,7 @@ void ipc_init(void) {
ipc_event_source = wlc_event_loop_add_fd(ipc_socket, WLC_EVENT_READABLE, ipc_handle_connection, NULL);
}
-void ipc_shutdown(void) {
+void ipc_terminate(void) {
if (ipc_event_source) {
wlc_event_source_remove(ipc_event_source);
}