From 5dbb3f46939d7ab0d1e4d292c3fdae6f72e16cb7 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 2 Jul 2002 19:11:38 +0000 Subject: [PATCH] (x_term_init): Turn off polling around XtOpenDisplay. --- src/xterm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xterm.c b/src/xterm.c index 91dd7fc7174..e6b95725583 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -14770,10 +14770,12 @@ x_term_init (display_name, xrm_option, resource_name) argv[argc++] = "-xrm"; argv[argc++] = xrm_option; } + stop_polling (); dpy = XtOpenDisplay (Xt_app_con, XSTRING (display_name)->data, resource_name, EMACS_CLASS, emacs_options, XtNumber (emacs_options), &argc, argv); + start_polling (); #ifdef HAVE_X11XTR6 /* I think this is to compensate for XtSetLanguageProc. */ -- 2.39.5