diff options
author | Richard M. Stallman <rms@gnu.org> | 2002-07-02 19:11:38 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2002-07-02 19:11:38 +0000 |
commit | 5dbb3f46939d7ab0d1e4d292c3fdae6f72e16cb7 (patch) | |
tree | 0ad603f7d9ce80faeb17cb396e1c71c506240096 | |
parent | ec1a57dc5838fa17dc48aed9fe70ad3620df2c77 (diff) | |
download | emacs-5dbb3f46939d7ab0d1e4d292c3fdae6f72e16cb7.tar.gz |
(x_term_init): Turn off polling around XtOpenDisplay.
-rw-r--r-- | src/xterm.c | 2 |
1 files changed, 2 insertions, 0 deletions
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. */ |