summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-10-09 20:30:23 +0000
committerRichard M. Stallman <rms@gnu.org>1996-10-09 20:30:23 +0000
commite31714694adeee02f9c79a26e9e57efebcc88115 (patch)
treef5eff3478766caf260df6fce119f5e22e52ef800
parent4f9ad01661b1882883205f6ccefd58ab1b4e9f6a (diff)
downloademacs-e31714694adeee02f9c79a26e9e57efebcc88115.tar.gz
(init_display): If not yet initialized,
we can't really use X, so we must do the real work.
-rw-r--r--src/dispnew.c2
1 files changed, 1 insertions, 1 deletions
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