# HG changeset patch # User Richard M. Stallman # Date 766100078 0 # Node ID 8310b2eb6b06df3262106c77b80348cc7fe17488 # Parent dcbde04df85c0929b67158ed23005a0d99fba697 (make_lispy_movement): Conditionalize on MULTI_FRAME. (kbd_buffer_get_event): Call make_lispy_movement only if MULTI_FRAME. diff -r dcbde04df85c -r 8310b2eb6b06 src/keyboard.c --- a/src/keyboard.c Mon Apr 11 21:20:28 1994 +0000 +++ b/src/keyboard.c Mon Apr 11 21:34:38 1994 +0000 @@ -2088,13 +2088,13 @@ obj = make_lispy_switch_frame (frame); internal_last_event_frame = frame; } -#endif /* If we didn't decide to make a switch-frame event, go ahead and return a mouse-motion event. */ if (NILP (obj)) obj = make_lispy_movement (f, bar_window, part, x, y, time); - } +#endif + } else /* We were promised by the above while loop that there was something for us to read! */ @@ -2698,6 +2698,8 @@ } } +#ifdef MULTI_FRAME + static Lisp_Object make_lispy_movement (frame, bar_window, part, x, y, time) FRAME_PTR frame; @@ -2777,6 +2779,8 @@ } } +#endif /* MULTI_FRAME */ + /* Construct a switch frame event. */ static Lisp_Object make_lispy_switch_frame (frame)