aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 295ee422b1e..eea9b76d191 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -9609,7 +9609,20 @@ XTread_socket (sd, bufp, numchars, expected)
9609 if (event.xfocus.detail != NotifyPointer) 9609 if (event.xfocus.detail != NotifyPointer)
9610 dpyinfo->x_focus_event_frame = f; 9610 dpyinfo->x_focus_event_frame = f;
9611 if (f) 9611 if (f)
9612 x_new_focus_frame (dpyinfo, f); 9612 {
9613 x_new_focus_frame (dpyinfo, f);
9614
9615 /* Don't stop displaying the initial startup message
9616 for a switch-frame event we don't need. */
9617 if (GC_NILP (Vterminal_frame)
9618 && GC_CONSP (Vframe_list)
9619 && !GC_NILP (XCDR (Vframe_list)))
9620 {
9621 bufp->kind = FOCUS_IN_EVENT;
9622 XSETFRAME (bufp->frame_or_window, f);
9623 ++bufp, ++count, --numchars;
9624 }
9625 }
9613 9626
9614#ifdef HAVE_X_I18N 9627#ifdef HAVE_X_I18N
9615 if (f && FRAME_XIC (f)) 9628 if (f && FRAME_XIC (f))