(X_IO_BUG): Defined.
[bpt/emacs.git] / src / termhooks.h
index 65abf51..3c1afc0 100644 (file)
@@ -1,6 +1,6 @@
 /* Hooks by which low level terminal operations
    can be made to call other routines.
-   Copyright (C) 1985, 1986, 1993 Free Software Foundation, Inc.
+   Copyright (C) 1985, 1986, 1993, 1994 Free Software Foundation, Inc.
 
 This file is part of GNU Emacs.
 
@@ -183,10 +183,14 @@ extern void (*judge_scroll_bars_hook)( /* FRAME_PTR *FRAME */ );
 \f
 /* Input queue declarations and hooks.  */
 
+/* Called to read input events.  */
 extern int (*read_socket_hook) ();
 
+/* Called when a frame's display becomes entirely up to date.  */
+extern int (*frame_up_to_date_hook) ();
+
 /* Expedient hack: only provide the below definitions to files that
-   are prepared to handle lispy things.  XINT is defined iff lisp.h
+   are prepared to handle lispy things.  CONSP is defined iff lisp.h
    has been included before this file.  */
 #ifdef CONSP
 
@@ -242,7 +246,12 @@ enum event_kind
   selection_request_event,     /* Another X client wants a selection from us.
                                   See `struct selection_event'.  */
   selection_clear_event,       /* Another X client cleared our selection.  */
-  delete_window_event          /* An X client said "delete this window".  */
+  buffer_switch_event,         /* A process filter has switched buffers.  */
+  delete_window_event,         /* An X client said "delete this window".  */
+  menu_bar_event               /* An event generated by the menu bar.
+                                  The frame_or_window field holds the
+                                  Lisp-level event value.
+                                  (Only the toolkit version uses these.)  */
 };
 
 /* If a struct input_event has a kind which is selection_request_event
@@ -267,6 +276,8 @@ struct input_event {
 
   /* This field is copied into a vector while the event is in the queue,
      so that garbage collections won't kill it.  */
+  /* In a menu_bar_event, this holds the Lisp object
+     that is the event's value.  */
   Lisp_Object frame_or_window;
 
   int modifiers;               /* See enum below for interpretation.  */