aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 47334fc7375..a046bdc3a84 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -2470,7 +2470,7 @@ init_display ()
2470 display_arg = (display != 0 && *display != 0); 2470 display_arg = (display != 0 && *display != 0);
2471 } 2471 }
2472 2472
2473 if (!inhibit_window_system && display_arg) 2473 if (!inhibit_window_system && display_arg && initialized)
2474 { 2474 {
2475 Vwindow_system = intern ("x"); 2475 Vwindow_system = intern ("x");
2476#ifdef HAVE_X11 2476#ifdef HAVE_X11