diff options
| author | Stefan Monnier | 2008-09-12 04:10:59 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2008-09-12 04:10:59 +0000 |
| commit | ed5ff21d09be6c15cefcc000fe266604a4c83544 (patch) | |
| tree | 5c34b6717780c1f0afc537ecd77d4e4584930ecc /src/termhooks.h | |
| parent | da39107c7b70daf7dc0a160936bdb565bbc36918 (diff) | |
| download | emacs-ed5ff21d09be6c15cefcc000fe266604a4c83544.tar.gz emacs-ed5ff21d09be6c15cefcc000fe266604a4c83544.zip | |
* term.c (close_gpm): New fun extracted from Fgpm_mouse_stop.
(Fgpm_mouse_stop): Use it.
* termhooks.h (close_gpm): Declare.
* keyboard.c (tty_read_avail_input): Forcefully close the gpm
connection if Gpm_GetEvent fails.
Diffstat (limited to 'src/termhooks.h')
| -rw-r--r-- | src/termhooks.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/termhooks.h b/src/termhooks.h index 9edd4bf052e..71a935420d5 100644 --- a/src/termhooks.h +++ b/src/termhooks.h | |||
| @@ -643,5 +643,9 @@ extern void delete_terminal P_ ((struct terminal *)); | |||
| 643 | /* The initial terminal device, created by initial_term_init. */ | 643 | /* The initial terminal device, created by initial_term_init. */ |
| 644 | extern struct terminal *initial_terminal; | 644 | extern struct terminal *initial_terminal; |
| 645 | 645 | ||
| 646 | #ifdef HAVE_GPM | ||
| 647 | extern void close_gpm (void); | ||
| 648 | #endif | ||
| 649 | |||
| 646 | /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d | 650 | /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d |
| 647 | (do not change this comment) */ | 651 | (do not change this comment) */ |