aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
authorLibravatar thermitegod <thermitethegod@gmail.com>2020-01-23 18:12:00 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2020-01-24 10:16:59 +0100
commit29a5ce5f65d04b046271fbe53850836c77bbee80 (patch)
treea4ebc08ab43efd4785040ca8d30134f615d9ae47 /sway/main.c
parentAdding the link to the Portuguese on the English version of README.md (diff)
downloadsway-29a5ce5f65d04b046271fbe53850836c77bbee80.tar.gz
sway-29a5ce5f65d04b046271fbe53850836c77bbee80.tar.zst
sway-29a5ce5f65d04b046271fbe53850836c77bbee80.zip
Fix compiling with -fno-common
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index 2cc69dfb..e0af4a79 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -27,6 +27,7 @@
27static bool terminate_request = false; 27static bool terminate_request = false;
28static int exit_value = 0; 28static int exit_value = 0;
29struct sway_server server = {0}; 29struct sway_server server = {0};
30struct sway_debug debug = {0};
30 31
31void sway_terminate(int exit_code) { 32void sway_terminate(int exit_code) {
32 if (!server.wl_display) { 33 if (!server.wl_display) {