Mercurial > emacs
changeset 80986:ae304624e812
(enum event_kind): Add GPM_CLICK_EVENT.
Include gpm.h.
(handle_one_term_event, term_gpm) New externs.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Sun, 20 May 2007 02:47:36 +0000 |
parents | ff24a009be17 |
children | 4e9aff6772cf |
files | src/termhooks.h |
diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/termhooks.h Sun May 20 02:44:05 2007 +0000 +++ b/src/termhooks.h Sun May 20 02:47:36 2007 +0000 @@ -340,7 +340,11 @@ symbols, respectively. Member `arg' is a Lisp object converted from the received Apple event. Parameters for non-Apple events are converted to those in Apple events. */ - MAC_APPLE_EVENT + MAC_APPLE_EVENT, +#endif + +#ifdef HAVE_GPM_H + GPM_CLICK_EVENT #endif }; @@ -446,6 +450,14 @@ meta_modifier = CHAR_META /* Under X, the XK_Meta_[LR] keysyms. */ }; +#ifdef HAVE_GPM_H +#include <gpm.h> +extern int handle_one_term_event (Gpm_Event *, struct input_event *); + +/* Nonzero means mouse is enabled on Linux console */ +extern int term_gpm; +#endif + #endif /* arch-tag: 33a00ecc-52b5-4186-a410-8801ac9f087d