From 1023cbedd998b3f8f47ba1d3fc00fe4a3d1640e4 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Thu, 27 Sep 2007 21:19:54 +0000 Subject: [PATCH] (Fterm_open_connection): Add comment. --- src/term.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/term.c b/src/term.c index ce3b49ef4c1..62f7a4da77e 100644 --- a/src/term.c +++ b/src/term.c @@ -2981,6 +2981,9 @@ We only support Gpm on one tty at a time. */) else { gpm_tty = tty; + /* `init_sys_modes' arranges for mouse movements sent through gpm_fd + to generate SIGIOs. Apparently we need to call reset_sys_modes + before calling init_sys_modes. */ reset_sys_modes (tty); init_sys_modes (tty); add_gpm_wait_descriptor (gpm_fd);