(init_display): If not yet initialized,
authorRichard M. Stallman <rms@gnu.org>
Wed, 9 Oct 1996 20:30:23 +0000 (20:30 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 9 Oct 1996 20:30:23 +0000 (20:30 +0000)
we can't really use X, so we must do the real work.

src/dispnew.c

index 47334fc..a046bdc 100644 (file)
@@ -2470,7 +2470,7 @@ init_display ()
       display_arg = (display != 0 && *display != 0);
     }
 
-  if (!inhibit_window_system && display_arg)
+  if (!inhibit_window_system && display_arg && initialized)
     {
       Vwindow_system = intern ("x");
 #ifdef HAVE_X11