]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fterm_open_connection): Add comment.
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Sep 2007 21:19:54 +0000 (21:19 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 27 Sep 2007 21:19:54 +0000 (21:19 +0000)
src/term.c

index ce3b49ef4c10e6d2facacbcc91fe0e472cb510a6..62f7a4da77e02add92a0c2b08bb0289ce79d4210 100644 (file)
@@ -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);