Mercurial > emacs
comparison src/xterm.c @ 48169:d2c93bc1faf1
(x_term_init): Use turn_on_atimers, not start_polling and stop_polling.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Nov 2002 05:03:33 +0000 |
parents | afa06e8da62c |
children | e5d539ae9468 |
comparison
equal
deleted
inserted
replaced
48168:8314ced58ef2 | 48169:d2c93bc1faf1 |
---|---|
14803 if (xrm_option) | 14803 if (xrm_option) |
14804 { | 14804 { |
14805 argv[argc++] = "-xrm"; | 14805 argv[argc++] = "-xrm"; |
14806 argv[argc++] = xrm_option; | 14806 argv[argc++] = xrm_option; |
14807 } | 14807 } |
14808 stop_polling (); | 14808 turn_on_atimers (0); |
14809 dpy = XtOpenDisplay (Xt_app_con, SDATA (display_name), | 14809 dpy = XtOpenDisplay (Xt_app_con, SDATA (display_name), |
14810 resource_name, EMACS_CLASS, | 14810 resource_name, EMACS_CLASS, |
14811 emacs_options, XtNumber (emacs_options), | 14811 emacs_options, XtNumber (emacs_options), |
14812 &argc, argv); | 14812 &argc, argv); |
14813 start_polling (); | 14813 turn_on_atimers (1); |
14814 | 14814 |
14815 #ifdef HAVE_X11XTR6 | 14815 #ifdef HAVE_X11XTR6 |
14816 /* I think this is to compensate for XtSetLanguageProc. */ | 14816 /* I think this is to compensate for XtSetLanguageProc. */ |
14817 fixup_locale (); | 14817 fixup_locale (); |
14818 #endif | 14818 #endif |