From: Stefan Monnier Date: Thu, 27 Sep 2007 21:19:54 +0000 (+0000) Subject: (Fterm_open_connection): Add comment. X-Git-Tag: emacs-pretest-23.0.90~10595 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1023cbedd998b3f8f47ba1d3fc00fe4a3d1640e4;p=emacs.git (Fterm_open_connection): Add comment. --- 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);