diff options
author | Stefan Monnier <[email protected]> | 2007-09-21 17:10:48 +0000 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2007-09-21 17:10:48 +0000 |
commit | 71f44e7ad49b434c191a84fcd46a7dfa94894735 (patch) | |
tree | 7e825db8ca5a9413b8757d720b6a7d17a51543fe /src/keyboard.c | |
parent | 2171e172b8c1cf5ce4d4bc6cb123050352623d00 (diff) |
* 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/keyboard.c')
-rw-r--r-- | src/keyboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 1a09436557..79b9ca32a6 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -7121,7 +7121,7 @@ tty_read_avail_input (struct terminal *terminal, return 0; /* The terminal is suspended. */ #ifdef HAVE_GPM - if (term_gpm && gpm_tty == tty->terminal->id) + if (gpm_tty == tty) { Gpm_Event event; struct input_event hold_quit; |