sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 701855fee5e63d73120c40e08f57096f7c584707
parent 2c43bd2ac8cd24534c2743419454db5476ab9456
Author: Mikkel Oscar Lyderik <mikkeloscar@gmail.com>
Date:   Fri, 22 Jan 2016 02:51:51 +0100

Merge pull request #459 from crondog/sigpipe

Prevent ipc from crashing sway
Diffstat:
Msway/main.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/sway/main.c b/sway/main.c @@ -187,6 +187,9 @@ int main(int argc, char **argv) { // handle SIGTERM signals signal(SIGTERM, sig_handler); + // prevent ipc from crashing sway + signal(SIGPIPE, SIG_IGN); + #if defined SWAY_GIT_VERSION && defined SWAY_GIT_BRANCH && defined SWAY_VERSION_DATE sway_log(L_INFO, "Starting sway version %s (%s, branch \"%s\")\n", SWAY_GIT_VERSION, SWAY_VERSION_DATE, SWAY_GIT_BRANCH); #endif