aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index 73e987531a9..7962d1b4d53 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -10890,7 +10890,8 @@ XTread_socket (sd, bufp, numchars, expected)
10890 /* Window will be selected only when it is not selected now and 10890 /* Window will be selected only when it is not selected now and
10891 last mouse movement event was not in it. Minibuffer window 10891 last mouse movement event was not in it. Minibuffer window
10892 will be selected iff it is active. */ 10892 will be selected iff it is active. */
10893 if (!EQ (window, last_window) 10893 if (WINDOWP(window)
10894 && !EQ (window, last_window)
10894 && !EQ (window, selected_window) 10895 && !EQ (window, selected_window)
10895 && numchars > 0) 10896 && numchars > 0)
10896 { 10897 {