summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dispnew.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 25eccf95967..7284baec2e5 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2001,6 +2001,7 @@ init_display ()
#else
display_arg = getenv ("DISPLAY");
#endif
+ }
if (!inhibit_window_system && display_arg)
{