changeset 46141:c7c9340eeb69

(x_term_init): Turn off polling around XtOpenDisplay.
author Richard M. Stallman <rms@gnu.org>
date Tue, 02 Jul 2002 19:11:38 +0000
parents a1a48a102687
children 03d01403f6b7
files src/xterm.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xterm.c	Tue Jul 02 19:10:16 2002 +0000
+++ b/src/xterm.c	Tue Jul 02 19:11:38 2002 +0000
@@ -14770,10 +14770,12 @@
 	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.  */