]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_term_init): Turn off polling around XtOpenDisplay.
authorRichard M. Stallman <rms@gnu.org>
Tue, 2 Jul 2002 19:11:38 +0000 (19:11 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 2 Jul 2002 19:11:38 +0000 (19:11 +0000)
src/xterm.c

index 91dd7fc7174da019c20d719c3adc71a575da7dcc..e6b95725583f10e2aaa9101fd20898fa504bd562 100644 (file)
@@ -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.  */