From: Richard M. Stallman Date: Tue, 2 Jul 2002 19:11:38 +0000 (+0000) Subject: (x_term_init): Turn off polling around XtOpenDisplay. X-Git-Tag: ttn-vms-21-2-B4~14339 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5dbb3f46939d7ab0d1e4d292c3fdae6f72e16cb7;p=emacs.git (x_term_init): Turn off polling around XtOpenDisplay. --- 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. */