diff --git a/sway/main.c b/sway/main.c index 57716071..cd03c873 100644 --- a/sway/main.c +++ b/sway/main.c @@ -367,6 +367,7 @@ int main(int argc, char **argv) { // handle SIGTERM signals signal(SIGTERM, sig_handler); + signal(SIGINT, sig_handler); // prevent ipc from crashing sway signal(SIGPIPE, SIG_IGN);