comparison src/keyboard.c @ 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 81d29cf5b232
children e49ff3115e7d
comparison
equal deleted inserted replaced
3928:c5f9d7f928a7 3929:d620db2bc420
1935 if (NILP (frame)) 1935 if (NILP (frame))
1936 XSET (frame, Lisp_Frame, f); 1936 XSET (frame, Lisp_Frame, f);
1937 1937
1938 if (! EQ (frame, internal_last_event_frame) 1938 if (! EQ (frame, internal_last_event_frame)
1939 && XFRAME (frame) != selected_frame) 1939 && XFRAME (frame) != selected_frame)
1940 obj = make_lispy_switch_frame (internal_last_event_frame); 1940 obj = make_lispy_switch_frame (frame);
1941 internal_last_event_frame = frame; 1941 internal_last_event_frame = frame;
1942 } 1942 }
1943 #endif 1943 #endif
1944 1944
1945 /* If we didn't decide to make a switch-frame event, go ahead and 1945 /* If we didn't decide to make a switch-frame event, go ahead and