From d036ccf4b9a877873b54e3c12f5f709bcf944530 Mon Sep 17 00:00:00 2001 From: Nick Roberts Date: Sun, 20 May 2007 02:47:36 +0000 Subject: [PATCH] (enum event_kind): Add GPM_CLICK_EVENT. Include gpm.h. (handle_one_term_event, term_gpm) New externs. --- src/termhooks.h | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/termhooks.h b/src/termhooks.h index 8aef23bc2a7..0ca6523bd61 100644 --- a/src/termhooks.h +++ b/src/termhooks.h @@ -340,7 +340,11 @@ enum event_kind 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 @@ enum { meta_modifier = CHAR_META /* Under X, the XK_Meta_[LR] keysyms. */ }; +#ifdef HAVE_GPM_H +#include +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 -- 2.39.2