]> code.delx.au - gnu-emacs/blobdiff - src/termhooks.h
Merge changes from emacs-23 branch.
[gnu-emacs] / src / termhooks.h
index 7762dd15efe4bc6e7aa7727882a714324a891694..b9358896bae1b20892970a4df385f4b576c60fc4 100644 (file)
@@ -44,11 +44,6 @@ extern void (*fullscreen_hook) (struct frame *f);
 \f
 /* Input queue declarations and hooks.  */
 
-/* Expedient hack: only provide the below definitions to files that
-   are prepared to handle lispy things.  CONSP is defined if lisp.h
-   has been included before this file.  */
-#ifdef CONSP
-
 enum event_kind
 {
   NO_EVENT,                    /* nothing happened.  This should never
@@ -228,9 +223,11 @@ struct input_event
   /* For an ASCII_KEYSTROKE_EVENT and MULTIBYTE_CHAR_KEYSTROKE_EVENT,
      this is the character.
      For a NON_ASCII_KEYSTROKE_EVENT, this is the keysym code.
-     For a mouse event, this is the button number.  */
+     For a mouse event, this is the button number.
+     For a HELP_EVENT, this is the position within the object
+      (stored in ARG below) where the help was found.  */
   /* In WindowsNT, for a mouse wheel event, this is the delta.  */
-  int code;
+  EMACS_INT code;
   enum scroll_bar_part part;
 
   int modifiers;               /* See enum below for interpretation.  */
@@ -315,8 +312,6 @@ extern void term_mouse_moveto (int, int);
 extern struct tty_display_info *gpm_tty;
 #endif
 
-#endif /* CONSP */
-
 \f
 struct ns_display_info;
 struct x_display_info;