aboutsummaryrefslogtreecommitdiffstats
path: root/src/termhooks.h
diff options
context:
space:
mode:
authorStefan Monnier2008-09-12 04:10:59 +0000
committerStefan Monnier2008-09-12 04:10:59 +0000
commited5ff21d09be6c15cefcc000fe266604a4c83544 (patch)
tree5c34b6717780c1f0afc537ecd77d4e4584930ecc /src/termhooks.h
parentda39107c7b70daf7dc0a160936bdb565bbc36918 (diff)
downloademacs-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.h4
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. */
644extern struct terminal *initial_terminal; 644extern struct terminal *initial_terminal;
645 645
646#ifdef HAVE_GPM
647extern 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) */