diff src/term.c @ 84955:dfbee4931a6a

(Fterm_open_connection): Add comment.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Thu, 27 Sep 2007 21:19:54 +0000
parents ba20cee1aec0
children 85eb2660cbe3
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);