aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorStefan Monnier2007-09-21 17:10:48 +0000
committerStefan Monnier2007-09-21 17:10:48 +0000
commit71f44e7ad49b434c191a84fcd46a7dfa94894735 (patch)
tree7e825db8ca5a9413b8757d720b6a7d17a51543fe /src/termhooks.h
parent2171e172b8c1cf5ce4d4bc6cb123050352623d00 (diff)
downloademacs-71f44e7ad49b434c191a84fcd46a7dfa94894735.tar.gz
emacs-71f44e7ad49b434c191a84fcd46a7dfa94894735.zip
* termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead.
(gpm_tty): Change its type. * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. (gpm_tty): Change its type and initialize it. (Fterm_open_connection): Check the frame is indeed a tty. Use the new gpm_tty. (Fterm_close_connection): Use the new gpm_tty. * keyboard.c (tty_read_avail_input): Use the new gpm_tty. * sysdep.c (init_sys_modes): term_gpm -> gpm_tty.
Diffstat (limited to 'src/termhooks.h')
-rw-r--r--src/termhooks.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/termhooks.h b/src/termhooks.h
index c4b3839f972..8cb1194dc07 100644
--- a/src/termhooks.h
+++ b/src/termhooks.h
@@ -302,11 +302,8 @@ enum {
302extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *); 302extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *);
303extern void term_mouse_moveto (int, int); 303extern void term_mouse_moveto (int, int);
304 304
305/* Nonzero means mouse is enabled on Linux console */ 305/* The device for which we have enabled gpm support. */
306extern int term_gpm; 306extern struct tty_display_info *gpm_tty;
307
308/* The id of the terminal device for which we have gpm support. */
309extern int gpm_tty;
310#endif 307#endif
311 308
312#endif /* CONSP */ 309#endif /* CONSP */