diff src/dispnew.c @ 69952:b9da898695a5

* dispnew.c (init_display): Don't init X display if the user asked for a non-X display.
author Jan Djärv <jan.h.d@swipnet.se>
date Wed, 12 Apr 2006 06:23:12 +0000
parents 761eaec1aae4
children c39f344060aa 2d2f6f096f6e c156f6a9e7b5
line wrap: on
line diff
--- a/src/dispnew.c	Wed Apr 12 05:48:37 2006 +0000
+++ b/src/dispnew.c	Wed Apr 12 06:23:12 2006 +0000
@@ -6654,7 +6654,7 @@
      try to use X, and die with an error message if that doesn't work.  */
 
 #ifdef HAVE_X_WINDOWS
-  if (! display_arg)
+  if (! inhibit_window_system && ! display_arg)
     {
       char *display;
 #ifdef VMS