changeset 3929:d620db2bc420

* keyboard.c (kbd_buffer_get_event): Correctly generate switch-frame events when reading mouse motion events.
author Jim Blandy <jimb@redhat.com>
date Wed, 30 Jun 1993 04:56:29 +0000
parents c5f9d7f928a7
children ac686479ca51
files src/keyboard.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Wed Jun 30 04:47:37 1993 +0000
+++ b/src/keyboard.c	Wed Jun 30 04:56:29 1993 +0000
@@ -1937,7 +1937,7 @@
 
 	  if (! EQ (frame, internal_last_event_frame)
 	      && XFRAME (frame) != selected_frame)
-	    obj = make_lispy_switch_frame (internal_last_event_frame);
+	    obj = make_lispy_switch_frame (frame);
 	  internal_last_event_frame = frame;
 	}
 #endif