This website requires JavaScript.
Explore
Help
Register
Sign In
mirror
/
sway
Watch
1
Star
1
Fork
0
You've already forked sway
mirror of
https://github.com/swaywm/sway
synced
2024-11-05 18:49:41 +01:00
Code
Issues
44a4905466
sway
/
include
/
sway.h
7 lines
87 B
C
Raw
Normal View
History
Unescape
Escape
added missing header file
2015-08-20 15:23:52 +02:00
#
ifndef _SWAY_SWAY_H
#
define _SWAY_SWAY_H
Correctly exit sway on errors. Calling `exit` in sway_terminate prevents sway from correctly shutting down (freeing data, cleanly terminating the ipc server, etc.). A better way is to exit straight away if the failure occurs before `wlc_run` and use sway_abort as usual if it occur when wlc is running.
2016-02-26 09:08:05 +01:00
void
sway_terminate
(
int
exit_code
)
;
added missing header file
2015-08-20 15:23:52 +02:00
#
endif
Copy Permalink