aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPavel Janík2002-04-01 16:55:33 +0000
committerPavel Janík2002-04-01 16:55:33 +0000
commitce1295bdc3b803ed804c4a077b502c8dc6b440e9 (patch)
treec55283fae623b1878721d78874022b149ac733db /src
parent4f4fada2f5bf3e9319952d94c0bfd5fa4b979fc7 (diff)
downloademacs-ce1295bdc3b803ed804c4a077b502c8dc6b440e9.tar.gz
emacs-ce1295bdc3b803ed804c4a077b502c8dc6b440e9.zip
(XTread_socket): Generate SELECT_WINDOW_EVENTs only for Emacs windows.
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 {