aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/rosa/package/sway/remove-unused.patch
blob: 0de526451ecf9fdfb712e5622f47309bf24db5f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/sway/main.c b/sway/main.c
index a9438926..6618348e 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -26,7 +26,6 @@
 #include "stringop.h"
 #include "util.h"
 
-static bool terminate_request = false;
 static int exit_value = 0;
 static struct rlimit original_nofile_rlimit = {0};
 struct sway_server server = {0};
@@ -38,7 +37,6 @@ void sway_terminate(int exit_code) {
 		exit(exit_code);
 	} else {
 		// Running as server
-		terminate_request = true;
 		exit_value = exit_code;
 		ipc_event_shutdown("exit");
 		wl_display_terminate(server.wl_display);