diff options
| author | Stefan Monnier | 2009-03-27 16:14:23 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2009-03-27 16:14:23 +0000 |
| commit | d347e4943a371d278f479db89d932f136d6ee659 (patch) | |
| tree | 547f6c4557fb62a0135c1193e2019d6d73255294 /src/termhooks.h | |
| parent | d696b0d53f982b231b26124f180a92a0e7935c06 (diff) | |
| download | emacs-d347e4943a371d278f479db89d932f136d6ee659.tar.gz emacs-d347e4943a371d278f479db89d932f136d6ee659.zip | |
* keyboard.c (tty_read_avail_input): Don't treat a -1 return from
Gpm_GetEvent as an error that justifies closing the filedescriptor.
* term.c (close_gpm): Get the filedescriptor as a (new) parameter.
(Fgpm_mouse_stop): Pass that new parameter.
* termhooks.h (close_gpm): Adjust prototype.
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index d8f0cb0b295..33d89674273 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -653,7 +653,7 @@ extern void delete_terminal P_ ((struct terminal *)); | |||
| 653 | extern struct terminal *initial_terminal; | 653 | extern struct terminal *initial_terminal; |
| 654 | 654 | ||
| 655 | #ifdef HAVE_GPM | 655 | #ifdef HAVE_GPM |
| 656 | extern void close_gpm (void); | 656 | extern void close_gpm (int gpm_fd); |
| 657 | #endif | 657 | #endif |
| 658 | 658 | ||
| 659 | /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d | 659 | /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d |