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
+ GPM_CLICK_EVENT
#endif
};
meta_modifier = CHAR_META /* Under X, the XK_Meta_[LR] keysyms. */
};
+#ifdef HAVE_GPM
+#include <gpm.h>
+extern int handle_one_term_event (struct tty_display_info *, Gpm_Event *, struct input_event *);
+extern void term_mouse_moveto (int, int);
+
+/* Nonzero means mouse is enabled on Linux console */
+extern int term_gpm;
+
+/* The id of the terminal device for which we have gpm support. */
+extern int gpm_tty;
+#endif
+
#endif /* CONSP */
\f
+struct mac_display_info;
+struct w32_display_info;
+
/* Terminal-local parameters. */
struct terminal
{
{
struct tty_display_info *tty; /* termchar.h */
struct x_display_info *x; /* xterm.h */
-#ifdef WINDOWSNT
struct w32_display_info *w32; /* w32term.h */
-#endif
+ struct mac_display_info *mac; /* macterm.h */
} display_info;
\f