Commit 4b311aaf authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(init_sys_modes): Don't call set_terminal_modes

if using a window system.
parent 97dfc68c
......@@ -1344,7 +1344,9 @@ init_sys_modes ()
#else
setbuf (stdout, _sobuf);
#endif
set_terminal_modes ();
if (! read_socket_hook && EQ (Vwindow_system, Qnil))
set_terminal_modes ();
if (term_initted && no_redraw_on_reenter)
{
if (display_completed)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment