aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>2002-07-02 19:11:38 +0000
committerRichard M. Stallman <[email protected]>2002-07-02 19:11:38 +0000
commit5dbb3f46939d7ab0d1e4d292c3fdae6f72e16cb7 (patch)
tree0ad603f7d9ce80faeb17cb396e1c71c506240096 /src/xterm.c
parentec1a57dc5838fa17dc48aed9fe70ad3620df2c77 (diff)
(x_term_init): Turn off polling around XtOpenDisplay.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 91dd7fc717..e6b9572558 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. */