summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1991-07-15 22:33:41 +0000
committerJim Blandy <jimb@redhat.com>1991-07-15 22:33:41 +0000
commite9de784c5a33e94c0794c53b7db0833d0a00845b (patch)
treefd4826df713b140e0c099abfff68ab524ea297e1 /lisp
parent1ab256cb9997cf15983abc63310cdf32f0533bca (diff)
downloademacs-e9de784c5a33e94c0794c53b7db0833d0a00845b.tar.gz
*** empty log message ***
Diffstat (limited to 'lisp')
-rw-r--r--lisp/term/x-win.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el
index abf794f1ad0..30f5fa9b2e3 100644
--- a/lisp/term/x-win.el
+++ b/lisp/term/x-win.el
@@ -626,10 +626,14 @@ This returns ARGS with the arguments that have been processed removed."
;;; Do the actual X Windows setup here; the above code just defines
;;; functions and variables that we use now.
-;; xterm.c depends on using interrupt-driven input.
-(set-input-mode t nil t)
(x-open-connection (or x-display-name
(setq x-display-name (getenv "DISPLAY"))))
+
+;; xterm.c depends on using interrupt-driven input, but we don't want
+;; the fcntls to apply to the terminal, so we do this after opening
+;; the display.
+(set-input-mode t nil t)
+
(x-read-resources)
(setq command-line-args (x-handle-args command-line-args))
(x-pop-initial-window)