diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-03-27 16:14:23 +0000 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2009-03-27 16:14:23 +0000 |
commit | d347e4943a371d278f479db89d932f136d6ee659 (patch) | |
tree | 547f6c4557fb62a0135c1193e2019d6d73255294 /src/termhooks.h | |
parent | d696b0d53f982b231b26124f180a92a0e7935c06 (diff) | |
download | emacs-d347e4943a371d278f479db89d932f136d6ee659.tar.gz |
* 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 *)); extern struct terminal *initial_terminal; #ifdef HAVE_GPM -extern void close_gpm (void); +extern void close_gpm (int gpm_fd); #endif /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d |