# HG changeset patch # User Karl Heuer # Date 792119086 0 # Node ID 17e107dbc1909caa3fe993739870bae6987cbd5f # Parent ba12df7438886570f8eb648fd84d68690589bc52 (struct PERDISPLAY): Add Vlast_event_frame. Define internal_last_event_frame only #if MULTI_FRAME. Add placeholders so we don't need to rebuild every time this struct changes. diff -r ba12df743888 -r 17e107dbc190 src/lisp.h --- a/src/lisp.h Mon Feb 06 22:53:58 1995 +0000 +++ b/src/lisp.h Tue Feb 07 01:04:46 1995 +0000 @@ -493,8 +493,25 @@ PERDISPLAY *next_perdisplay; Lisp_Object Vprefix_arg; Lisp_Object Vcurrent_prefix_arg; + +#ifdef MULTI_FRAME + /* The frame in which the last input event occurred, or Qmacro if the + last event came from a macro. We use this to determine when to + generate switch-frame events. This may be cleared by functions + like Fselect_frame, to make sure that a switch-frame event is + generated by the next character. */ + Lisp_Object internal_last_event_frame; +#endif + + /* A user-visible version of the above, intended to allow users to + figure out where the last event came from, if the event doesn't + carry that information itself (i.e. if it was a character). */ + Lisp_Object Vlast_event_frame; + + /* Placeholder for future vars that will be moved here. */ + Lisp_Object unused[20]; + Lisp_Object this_command_keys; - Lisp_Object internal_last_event_frame; /* Vector to GCPRO the frames and windows mentioned in kbd_buffer.