aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/term.c3
1 files changed, 3 insertions, 0 deletions
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. */)
2981 else 2981 else
2982 { 2982 {
2983 gpm_tty = tty; 2983 gpm_tty = tty;
2984 /* `init_sys_modes' arranges for mouse movements sent through gpm_fd
2985 to generate SIGIOs. Apparently we need to call reset_sys_modes
2986 before calling init_sys_modes. */
2984 reset_sys_modes (tty); 2987 reset_sys_modes (tty);
2985 init_sys_modes (tty); 2988 init_sys_modes (tty);
2986 add_gpm_wait_descriptor (gpm_fd); 2989 add_gpm_wait_descriptor (gpm_fd);