changeset 16412:49f61db069a4

(init_display): If not yet initialized, we can't really use X, so we must do the real work.
author Richard M. Stallman <rms@gnu.org>
date Wed, 09 Oct 1996 20:30:23 +0000
parents 939831bf2103
children 79ff1c263f5d
files src/dispnew.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Wed Oct 09 04:56:48 1996 +0000
+++ b/src/dispnew.c	Wed Oct 09 20:30:23 1996 +0000
@@ -2470,7 +2470,7 @@
       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