comparison src/termhooks.h @ 84768:53194ec05789

* 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.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 21 Sep 2007 17:10:48 +0000
parents 920b65c5b922
children 0440e26f0af7
comparison
equal deleted inserted replaced
84767:3fb70c6369b7 84768:53194ec05789
300 #ifdef HAVE_GPM 300 #ifdef HAVE_GPM
301 #include <gpm.h> 301 #include <gpm.h>
302 extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *); 302 extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *);
303 extern void term_mouse_moveto (int, int); 303 extern 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. */
306 extern int term_gpm; 306 extern struct tty_display_info *gpm_tty;
307
308 /* The id of the terminal device for which we have gpm support. */
309 extern int gpm_tty;
310 #endif 307 #endif
311 308
312 #endif /* CONSP */ 309 #endif /* CONSP */
313 310
314 311