summaryrefslogtreecommitdiff
path: root/src/dispnew.c
diff options
context:
space:
mode:
authorJan Djärv <jan.h.d@swipnet.se>2006-04-12 06:23:12 +0000
committerJan Djärv <jan.h.d@swipnet.se>2006-04-12 06:23:12 +0000
commit00d70d574cb89c3096761ec10c8de31db58ddf41 (patch)
tree9248755d85efded9b15867f0ab516e1f8b68ff14 /src/dispnew.c
parent957b3c5f2f6280605908e0b7694bead9539082b4 (diff)
downloademacs-00d70d574cb89c3096761ec10c8de31db58ddf41.tar.gz
* dispnew.c (init_display): Don't init X display if the user asked
for a non-X display.
Diffstat (limited to 'src/dispnew.c')
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index ff7758c7538..c0acc738c78 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -6654,7 +6654,7 @@ init_display ()
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