Mercurial > emacs
diff src/sysdep.c @ 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 | a21cc2869d36 |
children | d8f4346c8ee1 |
line wrap: on
line diff
--- a/src/sysdep.c Fri Sep 21 11:08:00 2007 +0000 +++ b/src/sysdep.c Fri Sep 21 17:10:48 2007 +0000 @@ -1752,7 +1752,7 @@ fcntl (fileno (tty_out->input), F_SETOWN, getpid ()); init_sigio (fileno (tty_out->input)); #ifdef HAVE_GPM - if (term_gpm) + if (gpm_tty) { fcntl (gpm_fd, F_SETOWN, getpid ()); fcntl (gpm_fd, F_SETFL, fcntl (gpm_fd, F_GETFL, 0) | O_NONBLOCK);