aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 5b04990b055..5a2e635f843 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1587,13 +1587,10 @@ kbd_buffer_get_event ()
1587 { 1587 {
1588 if (kbd_fetch_ptr == kbd_buffer + KBD_BUFFER_SIZE) 1588 if (kbd_fetch_ptr == kbd_buffer + KBD_BUFFER_SIZE)
1589 kbd_fetch_ptr = kbd_buffer; 1589 kbd_fetch_ptr = kbd_buffer;
1590 /* Do the redirection specified by the focus_frame
1591 member now, before we return this event. */
1592 kbd_fetch_ptr->frame
1593 = XFRAME (FRAME_FOCUS_FRAME (kbd_fetch_ptr->frame));
1594 1590
1595#ifdef MULTI_FRAME 1591#ifdef MULTI_FRAME
1596 XSET (Vlast_event_frame, Lisp_Frame, kbd_fetch_ptr->frame); 1592 XSET (Vlast_event_frame, Lisp_Frame,
1593 XFRAME (FRAME_FOCUS_FRAME (kbd_fetch_ptr->frame)));
1597#endif 1594#endif
1598 1595
1599 last_event_timestamp = kbd_fetch_ptr->timestamp; 1596 last_event_timestamp = kbd_fetch_ptr->timestamp;
@@ -2212,6 +2209,7 @@ read_avail_input (expected)
2212#ifdef SIGIO /* for entire page */ 2209#ifdef SIGIO /* for entire page */
2213/* Note SIGIO has been undef'd if FIONREAD is missing. */ 2210/* Note SIGIO has been undef'd if FIONREAD is missing. */
2214 2211
2212SIGTYPE
2215input_available_signal (signo) 2213input_available_signal (signo)
2216 int signo; 2214 int signo;
2217{ 2215{