changeset 84955:dfbee4931a6a

(Fterm_open_connection): Add comment.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Sep 2007 21:19:54 +0000
parents e4706ef9521d
children 29a2854dd601
files src/term.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/term.c	Thu Sep 27 19:51:39 2007 +0000
+++ b/src/term.c	Thu Sep 27 21:19:54 2007 +0000
@@ -2981,6 +2981,9 @@
   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);