(x_term_init): Use turn_on_atimers, not start_polling and stop_polling.
authorRichard M. Stallman <rms@gnu.org>
Wed, 6 Nov 2002 05:03:33 +0000 (05:03 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 6 Nov 2002 05:03:33 +0000 (05:03 +0000)
src/xterm.c

index eef2eb1..c96eec5 100644 (file)
@@ -14805,12 +14805,12 @@ x_term_init (display_name, xrm_option, resource_name)
        argv[argc++] = "-xrm";
        argv[argc++] = xrm_option;
       }
-    stop_polling ();
+    turn_on_atimers (0);
     dpy = XtOpenDisplay (Xt_app_con, SDATA (display_name),
                         resource_name, EMACS_CLASS,
                         emacs_options, XtNumber (emacs_options),
                         &argc, argv);
-    start_polling ();
+    turn_on_atimers (1);
 
 #ifdef HAVE_X11XTR6
     /* I think this is to compensate for XtSetLanguageProc.  */