This website works better with JavaScript.
Explore
Help
Sign In
itycodes
/
convince
Watch
1
Star
0
Fork
You've already forked convince
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
74d4f1bec9
convince
/
include
/
sway.h
7 lines
87 B
Raw
Normal View
History
Unescape
Escape
added missing header file
10 years ago
#
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.
9 years ago
void
sway_terminate
(
int
exit_code
)
;
added missing header file
10 years ago
#
endif