This website requires JavaScript.
Explore
Help
Sign In
alex
/
swayfx
Watch
1
Star
0
Fork
You've already forked swayfx
0
Code
Issues
Pull requests
Actions
Packages
Projects
Releases
Wiki
Activity
d6ac3021ce
swayfx
/
include
/
sway.h
7 lines
87 B
C
Raw
Normal View
History
Unescape
Escape
added missing header file
2015-08-20 23:23:52 +10: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 19:08:05 +11:00
void
sway_terminate
(
int
exit_code
)
;
added missing header file
2015-08-20 23:23:52 +10:00
#
endif
Reference in a new issue
Copy permalink