From e31714694adeee02f9c79a26e9e57efebcc88115 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 9 Oct 1996 20:30:23 +0000 Subject: [PATCH] (init_display): If not yet initialized, we can't really use X, so we must do the real work. --- src/dispnew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () 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 -- 2.39.5