mirror of
https://github.com/swaywm/sway.git
synced 2025-10-31 22:25:26 -04:00
added sway_terminate to exit cleanly
This commit is contained in:
parent
70f046c87a
commit
f26ed32e46
5 changed files with 19 additions and 6 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue